Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/bash-preexec.bats
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ set_exit_code_and_run_precmd() {
foo() { (( trap_invoked_count += 1 )); }

# note setting this causes BATS to mis-report the failure line when this test fails
trap "foo && echo 'hello' >/dev/null" debug
trap "foo && echo 'hello' >/dev/null" DEBUG
[ "$(trap -p DEBUG | cut -d' ' -f3-7)" == "'foo && echo '\''hello'\'' >/dev/null'" ]

bp_install
Expand Down