aboutsummaryrefslogtreecommitdiff
path: root/test/docker-outside-of-docker/docker_dash_compose_v1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker-outside-of-docker/docker_dash_compose_v1.sh')
-rwxr-xr-xtest/docker-outside-of-docker/docker_dash_compose_v1.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/docker-outside-of-docker/docker_dash_compose_v1.sh b/test/docker-outside-of-docker/docker_dash_compose_v1.sh
new file mode 100755
index 0000000..d95f3cf
--- /dev/null
+++ b/test/docker-outside-of-docker/docker_dash_compose_v1.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "docker compose" bash -c "docker compose version | grep -E '2.[0-9]+.[0-9]+'"
+check "docker-compose" bash -c "docker-compose --version | grep -E '1.[0-9]+.[0-9]+'"
+
+# Report result
+reportResults