1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-16 21:20:59 +00:00
serenity/Userland/Shell
AnotherTest 86f50aa74e Shell: Make tests use PASS/FAIL instead of exit codes
There's no guarantee that the last executed command will have a zero
exit code, and so the shell exit code may or may not be zero, even if
all the tests pass.
Also changes the `test || echo fail && exit` to
`if not test { echo fail && exit }`, since that's nicer-looking.
2021-01-19 08:19:43 +01:00
..
Tests Shell: Make tests use PASS/FAIL instead of exit codes 2021-01-19 08:19:43 +01:00
AST.cpp Shell: Make 'if' expressions return the unevaluated value of blocks 2021-01-19 08:19:43 +01:00
AST.h Shell: Make 'if' expressions return the unevaluated value of blocks 2021-01-19 08:19:43 +01:00
Builtin.cpp Shell: Add a not builtin 2021-01-19 08:19:43 +01:00
CMakeLists.txt Shell: Move to Userland/Shell/ 2021-01-12 12:04:07 +01:00
Execution.h Shell: Move to Userland/Shell/ 2021-01-12 12:04:07 +01:00
Formatter.cpp Shell: Add formatter for history events 2021-01-15 19:13:03 +01:00
Formatter.h Shell: Add formatter for history events 2021-01-15 19:13:03 +01:00
Forward.h Shell: Add (basic) support for history event designators 2021-01-15 19:13:03 +01:00
Job.cpp Shell: Move to Userland/Shell/ 2021-01-12 12:04:07 +01:00
Job.h Shell: Move to Userland/Shell/ 2021-01-12 12:04:07 +01:00
main.cpp Shell: return the exit code of a '-c' command execution 2021-01-16 09:05:01 +01:00
NodeVisitor.cpp Shell: Add (basic) support for history event designators 2021-01-15 19:13:03 +01:00
NodeVisitor.h Shell: Add (basic) support for history event designators 2021-01-15 19:13:03 +01:00
Parser.cpp Shell: Allow newlines between else and if's closing brace 2021-01-18 08:56:34 +01:00
Parser.h Shell: Add (basic) support for history event designators 2021-01-15 19:13:03 +01:00
Shell.cpp Shell: Make 'if' expressions return the unevaluated value of blocks 2021-01-19 08:19:43 +01:00
Shell.h Shell: Add a not builtin 2021-01-19 08:19:43 +01:00