mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
996b58a135
commit
fcc2966118
|
@ -6,3 +6,11 @@ hello, world
|
|||
Error: starting "--help" failed: exec: "--help": executable file not found in $PATH
|
||||
|
||||
Exit code: 1
|
||||
|
||||
>>> [CLI] bundle exec -- bash -c exit 5
|
||||
Error: running "bash -c exit 5" failed with exit code: 5
|
||||
|
||||
Exit code: 1
|
||||
|
||||
>>> [CLI] bundle exec -- bash -c echo hello > /dev/stderr
|
||||
hello
|
||||
|
|
|
@ -2,7 +2,7 @@ trace $CLI bundle exec -- echo "hello, world"
|
|||
|
||||
# The CLI should not parse the --help flag and should try to run it as an executable
|
||||
# instead.
|
||||
trace $CLI bundle exec -- --help
|
||||
errcode trace $CLI bundle exec -- --help
|
||||
|
||||
# The error message should include the exit code.
|
||||
errcode trace $CLI bundle exec -- bash -c "exit 5"
|
||||
|
|
Loading…
Reference in New Issue