diff options
Diffstat (limited to 'test/docker-in-docker/test.sh')
-rwxr-xr-x | test/docker-in-docker/test.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/docker-in-docker/test.sh b/test/docker-in-docker/test.sh index 3a802b5..1eebfd2 100755 --- a/test/docker-in-docker/test.sh +++ b/test/docker-in-docker/test.sh @@ -5,8 +5,13 @@ set -e # Optional: Import test library source dev-container-features-test-lib -# Definition specific tests +# Feature specific tests check "version" docker --version +check "docker-init-exists" bash -c "ls /usr/local/share/docker-init.sh" +check "log-exists" bash -c "ls /tmp/dockerd.log" +check "log-for-completion" bash -c "cat /tmp/dockerd.log | grep 'Daemon has completed initialization'" +check "log-contents" bash -c "cat /tmp/dockerd.log | grep 'API listen on /var/run/docker.sock'" +check "docker-ps" bash -c "docker ps" # Report result reportResults
\ No newline at end of file |