summaryrefslogtreecommitdiffstats
path: root/tests/posix/readdir_error.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix/readdir_error.sh')
-rw-r--r--tests/posix/readdir_error.sh4
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