summaryrefslogtreecommitdiffstats
path: root/tests/posix/readdir_error.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-12-16 14:39:18 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-12-16 15:06:25 -0500
commit7d87b96b421b76e387cee903b7b7c1bc16c54310 (patch)
treee5c90a458a1418578cf31fd80301f6f99ab96251 /tests/posix/readdir_error.sh
parente01042b84abdfa224d47e6d11eb9798ce4c7d2f8 (diff)
downloadbfs-7d87b96b421b76e387cee903b7b7c1bc16c54310.tar.xz
tests: Move crash detection into invoke_bfs, use ! instead of fail
Diffstat (limited to 'tests/posix/readdir_error.sh')
-rw-r--r--tests/posix/readdir_error.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/posix/readdir_error.sh b/tests/posix/readdir_error.sh
index 483f543..e45ec5c 100644
--- a/tests/posix/readdir_error.sh
+++ b/tests/posix/readdir_error.sh
@@ -34,4 +34,4 @@ done
# On Linux, open(/proc/$pid/net) will succeed but readdir() will fail
test -r "/proc/$pid/net" || skip
-fail invoke_bfs "/proc/$pid/net" >/dev/null
+! invoke_bfs "/proc/$pid/net" >/dev/null