2025-03-03 14:12:50 +00:00
|
|
|
trace $CLI bundle exec -- echo "hello, world"
|
|
|
|
|
|
|
|
trace $CLI bundle exec -- pwd
|
2025-03-03 17:35:03 +00:00
|
|
|
|
|
|
|
# The CLI should not parse the --help flag and should pass it as is to echo.
|
|
|
|
trace $CLI bundle exec -- echo --help
|
2025-03-03 17:52:02 +00:00
|
|
|
|
|
|
|
# The error message should include the exit code.
|
2025-03-03 18:19:39 +00:00
|
|
|
errcode trace $CLI bundle exec -- bash -c "exit 5"
|
|
|
|
|
|
|
|
# stderr should also be shown in the output.
|
|
|
|
trace $CLI bundle exec -- bash -c "echo hello > /dev/stderr"
|