diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-12-16 14:17:07 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-12-16 14:17:07 -0500 |
commit | e01042b84abdfa224d47e6d11eb9798ce4c7d2f8 (patch) | |
tree | f55d5e3adfa5a5fb23119d9b149c76c289c12a0d /tests/posix/readdir_error.sh | |
parent | 681f14f7cdff2d8fae235b8fd09745cfcb93e666 (diff) | |
download | bfs-e01042b84abdfa224d47e6d11eb9798ce4c7d2f8.tar.xz |
tests: Replace skip_unless test with test || skip
Diffstat (limited to 'tests/posix/readdir_error.sh')
-rw-r--r-- | tests/posix/readdir_error.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/posix/readdir_error.sh b/tests/posix/readdir_error.sh index ce06723..483f543 100644 --- a/tests/posix/readdir_error.sh +++ b/tests/posix/readdir_error.sh @@ -1,4 +1,4 @@ -skip_unless test "$UNAME" = "Linux" +test "$UNAME" = "Linux" || skip clean_scratch mkfifo scratch/{fever,pid,wait,running} @@ -33,5 +33,5 @@ while [ "$state" != "Z" ]; do done # On Linux, open(/proc/$pid/net) will succeed but readdir() will fail -skip_unless test -r "/proc/$pid/net" +test -r "/proc/$pid/net" || skip fail invoke_bfs "/proc/$pid/net" >/dev/null |