diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-12-16 16:43:25 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-12-16 17:26:52 -0500 |
commit | e2b540c9e2a52500b17fa1005b26b2dd5a652c09 (patch) | |
tree | 148a9308e96f9cb86c30afd5743603cc364c9f99 /tests/posix/exec_plus_status.sh | |
parent | e82a7f51d4b4e90df868e5410a0445b009b54ff2 (diff) |
tests: Fail early in bfs_diff if the diff fails
Otherwise, propagate the exit code from bfs
Diffstat (limited to 'tests/posix/exec_plus_status.sh')
-rw-r--r-- | tests/posix/exec_plus_status.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/posix/exec_plus_status.sh b/tests/posix/exec_plus_status.sh index f44062e..a814c4e 100644 --- a/tests/posix/exec_plus_status.sh +++ b/tests/posix/exec_plus_status.sh @@ -1,3 +1,3 @@ # -exec ... {} + should always return true, but if the command fails, bfs # should exit with a non-zero status -check_exit $EX_BFS bfs_diff basic -exec false {} + -print +! bfs_diff basic -exec false {} + -print |