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

13 lines
397 B
Plaintext

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 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"