aboutsummaryrefslogtreecommitdiff
path: root/test/docker-from-docker
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2023-01-04 22:52:05 +0300
committerGitHub <noreply@github.com>2023-01-04 22:52:05 +0300
commiteef35a4399a17546051fc5597440d38c36022f06 (patch)
treecdcd9e78f9403a39219e3129871e373af1b6909d /test/docker-from-docker
parent6c76a7b4883a2639cedf805ed786b5b84100841d (diff)
Rename "docker-from-docker" to "docker-outside-of-docker" (#373)
* Rename to "docker-outside-of-docker" * rename test folder
Diffstat (limited to 'test/docker-from-docker')
-rw-r--r--test/docker-from-docker/docker_init.sh15
-rw-r--r--test/docker-from-docker/scenarios.json11
-rwxr-xr-xtest/docker-from-docker/test.sh14
3 files changed, 0 insertions, 40 deletions
diff --git a/test/docker-from-docker/docker_init.sh b/test/docker-from-docker/docker_init.sh
deleted file mode 100644
index 2164921..0000000
--- a/test/docker-from-docker/docker_init.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-set -e
-
-# Optional: Import test library
-source dev-container-features-test-lib
-
-check "docker-init-exists" bash -c "ls /usr/local/share/docker-init.sh"
-check "log-exists" bash -c "ls /tmp/vscr-docker-from-docker.log"
-check "log-contents-for-success" bash -c "cat /tmp/vscr-docker-from-docker.log | grep 'Success'"
-check "log-contents" bash -c "cat /tmp/vscr-docker-from-docker.log | grep 'Proxying /var/run/docker-host.sock to /var/run/docker.sock for vscode'"
-check "docker-ps" bash -c "docker ps"
-
-# Report result
-reportResults \ No newline at end of file
diff --git a/test/docker-from-docker/scenarios.json b/test/docker-from-docker/scenarios.json
deleted file mode 100644
index 196e00b..0000000
--- a/test/docker-from-docker/scenarios.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "docker_init": {
- "image": "mcr.microsoft.com/devcontainers/base",
- "remoteUser": "vscode",
- "features": {
- "docker-from-docker": {
- "version": "latest"
- }
- }
- }
-}
diff --git a/test/docker-from-docker/test.sh b/test/docker-from-docker/test.sh
deleted file mode 100755
index 517737a..0000000
--- a/test/docker-from-docker/test.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-set -e
-
-# Optional: Import test library
-source dev-container-features-test-lib
-
-# Definition specific tests
-check "version" docker --version
-check "docker-init-exists" bash -c "ls /usr/local/share/docker-init.sh"
-check "docker-ps" bash -c "docker ps"
-
-# Report result
-reportResults \ No newline at end of file