databricks-cli/acceptance/bundle/exec/basic/script

12 lines
380 B
Plaintext

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
# The error message should include the exit code.
errcode trace $CLI bundle exec -- bash -c "exit 5"
# stderr should also be passed through.
trace $CLI bundle exec -- bash -c "echo hello > /dev/stderr"