aboutsummaryrefslogtreecommitdiff
path: root/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker-in-docker/azureDnsAutoDetectionDisabled.sh')
-rw-r--r--test/docker-in-docker/azureDnsAutoDetectionDisabled.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh b/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
new file mode 100644
index 0000000..d3f4159
--- /dev/null
+++ b/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "dns flag should not be present" test ! "$(ps -ax | grep -E 'dockerd.+\-\-dns')"
+
+# Report result
+reportResults \ No newline at end of file