aboutsummaryrefslogtreecommitdiff
path: root/test/docker-in-docker/azureDnsAutoDetectionEnabled.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker-in-docker/azureDnsAutoDetectionEnabled.sh')
-rw-r--r--test/docker-in-docker/azureDnsAutoDetectionEnabled.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/docker-in-docker/azureDnsAutoDetectionEnabled.sh b/test/docker-in-docker/azureDnsAutoDetectionEnabled.sh
index e63a1f3..87f158a 100644
--- a/test/docker-in-docker/azureDnsAutoDetectionEnabled.sh
+++ b/test/docker-in-docker/azureDnsAutoDetectionEnabled.sh
@@ -6,7 +6,7 @@ set -e
source dev-container-features-test-lib
# Definition specific tests
-check "dns flag should be present" ps -ax | grep -E "dockerd.+\-\-dns"
+check "dns flag should be present" ps -ax | grep -v grep | grep -E "dockerd.+\-\-dns"
# Report result
reportResults \ No newline at end of file