-
Notifications
You must be signed in to change notification settings - Fork 3
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
2 changed files
with
308 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,119 @@ | ||
Debug = true | ||
|
||
[33m[stage-8] [0m[94mRunning tests for Stage #8: ip1[0m | ||
[33m[stage-8] [0m[94mRunning ./spawn_shell.sh[0m | ||
/workspaces/shell-tester/internal <nil> | ||
[33m[your-program] [0m$ | ||
[33m[stage-8] [0m[94m> ./my_exe[0m | ||
[33m[your-program] [0m384215599859 | ||
[33m[stage-8] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-8] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-7] [0m[94mRunning tests for Stage #7: mg5[0m | ||
[33m[stage-7] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type cat[0m | ||
[33m[your-program] [0mcat is /usr/bin/cat | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type cp[0m | ||
[33m[your-program] [0mcp is /usr/bin/cp | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type mkdir[0m | ||
[33m[your-program] [0mmkdir is /usr/bin/mkdir | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type my_exe[0m | ||
[33m[your-program] [0mmy_exe is /workspaces/shell-tester/internal/my_exe | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type nonexistent[0m | ||
[33m[your-program] [0mbash: type: nonexistent: not found | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-6] [0m[94mRunning tests for Stage #6: ez5[0m | ||
[33m[stage-6] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type echo[0m | ||
[33m[your-program] [0mecho is a shell builtin | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type exit[0m | ||
[33m[your-program] [0mexit is a shell builtin | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type type[0m | ||
[33m[your-program] [0mtype is a shell builtin | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type nonexistent[0m | ||
[33m[your-program] [0mbash: type: nonexistent: not found | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type nonexistentcommand[0m | ||
[33m[your-program] [0mbash: type: nonexistentcommand: not found | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-5] [0m[94mRunning tests for Stage #5: iz3[0m | ||
[33m[stage-5] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-5] [0m[94m> echo pineapple, grape, raspberry[0m | ||
[33m[your-program] [0mpineapple, grape, raspberry | ||
[33m[stage-5] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-5] [0m[94m> echo grape[0m | ||
[33m[your-program] [0mgrape | ||
[33m[stage-5] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-5] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-4] [0m[94mRunning tests for Stage #4: pn5[0m | ||
[33m[stage-4] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-4] [0m[94m> invalid_command_1[0m | ||
[33m[your-program] [0mbash: invalid_command_1: command not found | ||
[33m[stage-4] [0m[92m✓ Received command not found message[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-4] [0m[94m> exit 0[0m | ||
[33m[your-program] [0mexit | ||
[33m[your-program] [0m | ||
[33m[stage-4] [0m[92m✓ Program exited successfully[0m | ||
[33m[stage-4] [0m[92m✓ No output after exit command[0m | ||
[33m[stage-4] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-3] [0m[94mRunning tests for Stage #3: ff0[0m | ||
[33m[stage-3] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-3] [0m[94m> invalid_command_1[0m | ||
[33m[your-program] [0mbash: invalid_command_1: command not found | ||
[33m[stage-3] [0m[92m✓ Received command not found message[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-3] [0m[94m> invalid_command_2[0m | ||
[33m[your-program] [0mbash: invalid_command_2: command not found | ||
[33m[stage-3] [0m[92m✓ Received command not found message[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-3] [0m[94m> invalid_command_3[0m | ||
[33m[your-program] [0mbash: invalid_command_3: command not found | ||
[33m[stage-3] [0m[92m✓ Received command not found message[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-3] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-2] [0m[94mRunning tests for Stage #2: cz2[0m | ||
[33m[stage-2] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-2] [0m[94m> nonexistent[0m | ||
[33m[your-program] [0mbash: nonexistent: command not found | ||
[33m[stage-2] [0m[92m✓ Received command not found message[0m | ||
[33m[stage-2] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-1] [0m[94mRunning tests for Stage #1: oo8[0m | ||
[33m[stage-1] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-1] [0m[92m✓ Received prompt[0m | ||
[33m[stage-1] [0m[92mTest passed.[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 |
---|---|---|
@@ -0,0 +1,189 @@ | ||
Debug = true | ||
|
||
[33m[stage-12] [0m[94mRunning tests for Stage #12: gp4[0m | ||
[33m[stage-12] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-12] [0m[92m✓ Received prompt[0m | ||
[33m[stage-12] [0m[94m> cd /usr/local/bin[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-12] [0m[94m> pwd[0m | ||
[33m[your-program] [0m/usr/local/bin | ||
[33m[stage-12] [0m[92m✓ Received current working directory response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-12] [0m[92m✓ Received prompt[0m | ||
[33m[stage-12] [0m[94m> cd ~[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-12] [0m[94m> pwd[0m | ||
[33m[your-program] [0m/home/codespace | ||
[33m[stage-12] [0m[92m✓ Received current working directory response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-12] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-11] [0m[94mRunning tests for Stage #11: gq9[0m | ||
[33m[stage-11] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-11] [0m[92m✓ Received prompt[0m | ||
[33m[stage-11] [0m[94m> cd /usr/[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-11] [0m[94m> pwd[0m | ||
[33m[your-program] [0m/usr | ||
[33m[stage-11] [0m[92m✓ Received current working directory response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-11] [0m[92m✓ Received prompt[0m | ||
[33m[stage-11] [0m[94m> cd ./local/bin[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-11] [0m[94m> pwd[0m | ||
[33m[your-program] [0m/usr/local/bin | ||
[33m[stage-11] [0m[92m✓ Received current working directory response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-11] [0m[92m✓ Received prompt[0m | ||
[33m[stage-11] [0m[94m> cd ../../[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-11] [0m[94m> pwd[0m | ||
[33m[your-program] [0m/usr | ||
[33m[stage-11] [0m[92m✓ Received current working directory response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-11] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-10] [0m[94mRunning tests for Stage #10: ra6[0m | ||
[33m[stage-10] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-10] [0m[92m✓ Received prompt[0m | ||
[33m[stage-10] [0m[94m> cd /usr/local/bin[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-10] [0m[94m> pwd[0m | ||
[33m[your-program] [0m/usr/local/bin | ||
[33m[stage-10] [0m[92m✓ Received current working directory response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-10] [0m[94m> cd /non-existing-directory[0m | ||
[33m[your-program] [0mbash: cd: /non-existing-directory: No such file or directory | ||
[33m[stage-10] [0m[92m✓ Received error message[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-10] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-9] [0m[94mRunning tests for Stage #9: ei0[0m | ||
[33m[stage-9] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-9] [0m[94m> pwd[0m | ||
[33m[your-program] [0m/workspaces/shell-tester/internal | ||
[33m[stage-9] [0m[92m✓ Received current working directory response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-9] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-8] [0m[94mRunning tests for Stage #8: ip1[0m | ||
[33m[stage-8] [0m[94mRunning ./spawn_shell.sh[0m | ||
/workspaces/shell-tester/internal <nil> | ||
[33m[your-program] [0m$ | ||
[33m[stage-8] [0m[94m> ./my_exe[0m | ||
[33m[your-program] [0m384215599859 | ||
[33m[stage-8] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-8] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-7] [0m[94mRunning tests for Stage #7: mg5[0m | ||
[33m[stage-7] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type cat[0m | ||
[33m[your-program] [0mcat is /usr/bin/cat | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type cp[0m | ||
[33m[your-program] [0mcp is /usr/bin/cp | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type mkdir[0m | ||
[33m[your-program] [0mmkdir is /usr/bin/mkdir | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type my_exe[0m | ||
[33m[your-program] [0mmy_exe is /workspaces/shell-tester/internal/my_exe | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[94m> type nonexistent[0m | ||
[33m[your-program] [0mbash: type: nonexistent: not found | ||
[33m[stage-7] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-7] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-6] [0m[94mRunning tests for Stage #6: ez5[0m | ||
[33m[stage-6] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type echo[0m | ||
[33m[your-program] [0mecho is a shell builtin | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type exit[0m | ||
[33m[your-program] [0mexit is a shell builtin | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type type[0m | ||
[33m[your-program] [0mtype is a shell builtin | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type nonexistent[0m | ||
[33m[your-program] [0mbash: type: nonexistent: not found | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[94m> type nonexistentcommand[0m | ||
[33m[your-program] [0mbash: type: nonexistentcommand: not found | ||
[33m[stage-6] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-6] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-5] [0m[94mRunning tests for Stage #5: iz3[0m | ||
[33m[stage-5] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-5] [0m[94m> echo pineapple, grape, raspberry[0m | ||
[33m[your-program] [0mpineapple, grape, raspberry | ||
[33m[stage-5] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-5] [0m[94m> echo grape[0m | ||
[33m[your-program] [0mgrape | ||
[33m[stage-5] [0m[92m✓ Received expected response[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-5] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-4] [0m[94mRunning tests for Stage #4: pn5[0m | ||
[33m[stage-4] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-4] [0m[94m> invalid_command_1[0m | ||
[33m[your-program] [0mbash: invalid_command_1: command not found | ||
[33m[stage-4] [0m[92m✓ Received command not found message[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-4] [0m[94m> exit 0[0m | ||
[33m[your-program] [0mexit | ||
[33m[your-program] [0m | ||
[33m[stage-4] [0m[92m✓ Program exited successfully[0m | ||
[33m[stage-4] [0m[92m✓ No output after exit command[0m | ||
[33m[stage-4] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-3] [0m[94mRunning tests for Stage #3: ff0[0m | ||
[33m[stage-3] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-3] [0m[94m> invalid_command_1[0m | ||
[33m[your-program] [0mbash: invalid_command_1: command not found | ||
[33m[stage-3] [0m[92m✓ Received command not found message[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-3] [0m[94m> invalid_command_2[0m | ||
[33m[your-program] [0mbash: invalid_command_2: command not found | ||
[33m[stage-3] [0m[92m✓ Received command not found message[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-3] [0m[94m> invalid_command_3[0m | ||
[33m[your-program] [0mbash: invalid_command_3: command not found | ||
[33m[stage-3] [0m[92m✓ Received command not found message[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-3] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-2] [0m[94mRunning tests for Stage #2: cz2[0m | ||
[33m[stage-2] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-2] [0m[94m> nonexistent[0m | ||
[33m[your-program] [0mbash: nonexistent: command not found | ||
[33m[stage-2] [0m[92m✓ Received command not found message[0m | ||
[33m[stage-2] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-1] [0m[94mRunning tests for Stage #1: oo8[0m | ||
[33m[stage-1] [0m[94mRunning ./spawn_shell.sh[0m | ||
[33m[your-program] [0m$ | ||
[33m[stage-1] [0m[92m✓ Received prompt[0m | ||
[33m[stage-1] [0m[92mTest passed.[0m |