mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
7fb464b496
commit
b5e21231eb
|
@ -5,13 +5,7 @@ hello, world
|
|||
>>> [CLI] bundle exec -- pwd
|
||||
[TMPDIR]
|
||||
|
||||
>>> [CLI] bundle exec -- echo --help
|
||||
--help
|
||||
|
||||
>>> [CLI] bundle exec -- bash -c exit 5
|
||||
Error: Running "bash -c exit 5" failed with exit code: 5
|
||||
>>> [CLI] bundle exec -- --help
|
||||
Error: starting "--help" failed: exec: "--help": executable file not found in $PATH
|
||||
|
||||
Exit code: 1
|
||||
|
||||
>>> [CLI] bundle exec -- bash -c echo hello > /dev/stderr
|
||||
hello
|
||||
|
|
|
@ -2,8 +2,9 @@ trace $CLI bundle exec -- echo "hello, world"
|
|||
|
||||
trace $CLI bundle exec -- pwd
|
||||
|
||||
# The CLI should not parse the --help flag and should pass it as is to echo.
|
||||
trace $CLI bundle exec -- echo --help
|
||||
# The CLI should not parse the --help flag and should try to run it as an executable
|
||||
# instead.
|
||||
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