-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
9 additions
and
67 deletions.
There are no files selected for viewing
36 changes: 3 additions & 33 deletions
36
internal/test_helpers/fixtures/fetch_from_registry/failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,9 @@ | ||
Debug = true | ||
|
||
[33m[stage-1] [0m[94mRunning tests for Stage #1: init[0m | ||
[33m[stage-1] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer echo 88398[0m | ||
[33m[your_program] [0m88398 | ||
[33m[stage-1] [0m[36mChecking if the command output was echo-ed..[0m | ||
[33m[stage-1] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-2] [0m[94mRunning tests for Stage #2: stdio[0m | ||
[33m[stage-2] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer echo 88398[0m | ||
[33m[your_program] [0m88398 | ||
[33m[stage-2] [0m[36mChecking if the string was echo-ed to stdout..[0m | ||
[33m[stage-2] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer echo_stderr 28626[0m | ||
[33m[your_program] [0m28626 | ||
[33m[stage-2] [0m[36mChecking if the string was echo-ed to stderr..[0m | ||
[33m[stage-2] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-3] [0m[94mRunning tests for Stage #3: exit_code[0m | ||
[33m[stage-3] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer exit 3[0m | ||
[33m[stage-3] [0m[36mChecking the parent process's exit code..[0m | ||
[33m[stage-3] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-4] [0m[94mRunning tests for Stage #4: fs_isolation[0m | ||
[33m[stage-4] [0m[36mCreated temp dir on host: /tmp/88398[0m | ||
[33m[stage-4] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer ls /tmp/88398[0m | ||
[33m[stage-4] [0m[36m(expecting that the directory won't be accessible)[0m | ||
[33m[your_program] [0mNo such file or directory | ||
[33m[stage-4] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-5] [0m[94mRunning tests for Stage #5: process_isolation[0m | ||
[33m[stage-5] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer mypid[0m | ||
[33m[your_program] [0m1 | ||
[33m[stage-5] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-6] [0m[94mRunning tests for Stage #6: fetch_from_registry[0m | ||
[33m[stage-6] [0m[36mExecuting: ./your_docker.sh run alpine /bin/sh -c '/bin/ls /'[0m | ||
[33m[your_program] [0mExpected 'run <image> <command>' as the command! args: ["run" "alpine" "/bin/sh" "-c" "/bin/ls /"] | ||
[33m[your_program] [0m# command-line-arguments | ||
[33m[your_program] [0mtest_helpers/stages/process_isolation/main.go:36:4: unknown field Cloneflags in struct literal of type syscall.SysProcAttr | ||
[33m[your_program] [0mtest_helpers/stages/process_isolation/main.go:36:24: undefined: syscall.CLONE_NEWPID | ||
[33m[stage-6] [0m[91mExpected 0 as exit code, got: 1[0m | ||
[33m[stage-6] [0m[91mTest failed[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,9 @@ | ||
Debug = true | ||
|
||
[33m[stage-1] [0m[94mRunning tests for Stage #1: init[0m | ||
[33m[stage-1] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer echo 88398[0m | ||
[33m[your_program] [0m88398 | ||
[33m[stage-1] [0m[36mChecking if the command output was echo-ed..[0m | ||
[33m[stage-1] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-2] [0m[94mRunning tests for Stage #2: stdio[0m | ||
[33m[stage-2] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer echo 88398[0m | ||
[33m[your_program] [0m88398 | ||
[33m[stage-2] [0m[36mChecking if the string was echo-ed to stdout..[0m | ||
[33m[stage-2] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer echo_stderr 28626[0m | ||
[33m[your_program] [0m28626 | ||
[33m[stage-2] [0m[36mChecking if the string was echo-ed to stderr..[0m | ||
[33m[stage-2] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-3] [0m[94mRunning tests for Stage #3: exit_code[0m | ||
[33m[stage-3] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer exit 3[0m | ||
[33m[stage-3] [0m[36mChecking the parent process's exit code..[0m | ||
[33m[stage-3] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-4] [0m[94mRunning tests for Stage #4: fs_isolation[0m | ||
[33m[stage-4] [0m[36mCreated temp dir on host: /tmp/88398[0m | ||
[33m[stage-4] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer ls /tmp/88398[0m | ||
[33m[stage-4] [0m[36mCreated temp dir on host: /var/folders/5l/z5y3dkwn68sgb6htzc5w7vnm0000gn/T/88398[0m | ||
[33m[stage-4] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer ls /var/folders/5l/z5y3dkwn68sgb6htzc5w7vnm0000gn/T/88398[0m | ||
[33m[stage-4] [0m[36m(expecting that the directory won't be accessible)[0m | ||
[33m[stage-4] [0m[91mExpected stdout to contain "No such file or directory", got: ""[0m | ||
[33m[your_program] [0mFork Error: no such file or directory | ||
[33m[stage-4] [0m[91mExpected stdout to contain "No such file or directory", got: "Fork Error: no such file or directory"[0m | ||
[33m[stage-4] [0m[91mTest failed[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
Debug = true | ||
|
||
[33m[stage-1] [0m[94mRunning tests for Stage #1: init[0m | ||
[33m[stage-1] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer echo 88398[0m | ||
[33m[your_program] [0m88398 | ||
[33m[stage-1] [0m[36mChecking if the command output was echo-ed..[0m | ||
[33m[stage-1] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-2] [0m[94mRunning tests for Stage #2: stdio[0m | ||
[33m[stage-2] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer echo 88398[0m | ||
[33m[your_program] [0m88398 | ||
[33m[your_program] [0mFork Error: no such file or directory | ||
[33m[stage-2] [0m[36mChecking if the string was echo-ed to stdout..[0m | ||
[33m[stage-2] [0m[36mExecuting: ./your_docker.sh run <some_image> /usr/local/bin/docker-explorer echo_stderr 28626[0m | ||
[33m[your_program] [0m28626 | ||
[33m[stage-2] [0m[36mChecking if the string was echo-ed to stderr..[0m | ||
[33m[stage-2] [0m[91mExpected "28626\n" as stderr, got: ""[0m | ||
[33m[stage-2] [0m[91mExpected "88398\n" as stdout, got: "Fork Error: no such file or directory"[0m | ||
[33m[stage-2] [0m[91mTest failed[0m |