diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-12-16 14:39:18 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-12-16 15:06:25 -0500 |
commit | 7d87b96b421b76e387cee903b7b7c1bc16c54310 (patch) | |
tree | e5c90a458a1418578cf31fd80301f6f99ab96251 /tests/posix/readdir_error.sh | |
parent | e01042b84abdfa224d47e6d11eb9798ce4c7d2f8 (diff) | |
download | bfs-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.sh | 2 |
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 |