diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-10-23 11:42:33 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-10-23 13:00:21 -0400 |
commit | de8e0fbb8c1e59b3f1af72a07477b63a8f0bbc75 (patch) | |
tree | 4ab177ebe2342103eeca4d721d6a810b58ef99fc /tests/common/execdir_nonexistent.sh | |
parent | 4c7a49a83e082a7bfff85a9305882f0912655123 (diff) | |
download | bfs-de8e0fbb8c1e59b3f1af72a07477b63a8f0bbc75.tar.xz |
tests: Fix Bash 3 compatibility
Diffstat (limited to 'tests/common/execdir_nonexistent.sh')
-rw-r--r-- | tests/common/execdir_nonexistent.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/common/execdir_nonexistent.sh b/tests/common/execdir_nonexistent.sh index 4bb4fdb..0ec013c 100644 --- a/tests/common/execdir_nonexistent.sh +++ b/tests/common/execdir_nonexistent.sh @@ -1,4 +1,2 @@ -! stderr=$(invoke_bfs basic -execdir "$TESTS/nonexistent" {} \; 2>&1 >/dev/null) -[ -n "$stderr" ] - -! bfs_diff basic -print -execdir "$TESTS/nonexistent" {} \; -print +bfs_diff basic -print -execdir "$TESTS/nonexistent" {} \; -print 2>"$TEST/err" && fail +test -s "$TEST/err" |