summaryrefslogtreecommitdiffstats
path: root/tests/bfs/execdir_plus_nonexistent.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-12-16 16:43:25 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-12-16 17:26:52 -0500
commite2b540c9e2a52500b17fa1005b26b2dd5a652c09 (patch)
tree148a9308e96f9cb86c30afd5743603cc364c9f99 /tests/bfs/execdir_plus_nonexistent.sh
parente82a7f51d4b4e90df868e5410a0445b009b54ff2 (diff)
downloadbfs-e2b540c9e2a52500b17fa1005b26b2dd5a652c09.tar.xz
tests: Fail early in bfs_diff if the diff fails
Otherwise, propagate the exit code from bfs
Diffstat (limited to 'tests/bfs/execdir_plus_nonexistent.sh')
-rw-r--r--tests/bfs/execdir_plus_nonexistent.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bfs/execdir_plus_nonexistent.sh b/tests/bfs/execdir_plus_nonexistent.sh
index 88f3e90..e3b4d2d 100644
--- a/tests/bfs/execdir_plus_nonexistent.sh
+++ b/tests/bfs/execdir_plus_nonexistent.sh
@@ -1,4 +1,4 @@
! stderr=$(invoke_bfs basic -execdir "$TESTS/nonexistent" {} + 2>&1 >/dev/null)
[ -n "$stderr" ]
-check_exit $EX_BFS bfs_diff basic -execdir "$TESTS/nonexistent" {} + -print
+! bfs_diff basic -execdir "$TESTS/nonexistent" {} + -print