aboutsummaryrefslogtreecommitdiff
path: root/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-11-24 02:03:07 +0300
committerGitHub <noreply@github.com>2022-11-24 02:03:07 +0300
commit4b3ccf36eabcad859a13806a8dc47dfa651182a1 (patch)
tree31bebbe272b46d737093e1ea98bebf90b73f260b /test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
parent188f1ef26bc8fa942d552dfaa8596091a8a39126 (diff)
Adds test coverage (#308)
* Add test coverage * temp: debug test * Update tests
Diffstat (limited to 'test/docker-in-docker/azureDnsAutoDetectionDisabled.sh')
-rw-r--r--test/docker-in-docker/azureDnsAutoDetectionDisabled.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh b/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
index d3f4159..2415116 100644
--- a/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
+++ b/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
@@ -6,7 +6,7 @@ set -e
source dev-container-features-test-lib
# Definition specific tests
-check "dns flag should not be present" test ! "$(ps -ax | grep -E 'dockerd.+\-\-dns')"
+check "dns flag should not be present" test ! "$(ps -ax | grep -v grep | grep -E 'dockerd.+\-\-dns')"
# Report result
reportResults \ No newline at end of file