summaryrefslogtreecommitdiffstats
path: root/tests/bfs/L_capable.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-12-16 14:17:07 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-12-16 14:17:07 -0500
commite01042b84abdfa224d47e6d11eb9798ce4c7d2f8 (patch)
treef55d5e3adfa5a5fb23119d9b149c76c289c12a0d /tests/bfs/L_capable.sh
parent681f14f7cdff2d8fae235b8fd09745cfcb93e666 (diff)
downloadbfs-e01042b84abdfa224d47e6d11eb9798ce4c7d2f8.tar.xz
tests: Replace skip_unless test with test || skip
Diffstat (limited to 'tests/bfs/L_capable.sh')
-rw-r--r--tests/bfs/L_capable.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bfs/L_capable.sh b/tests/bfs/L_capable.sh
index 533ac2f..a349677 100644
--- a/tests/bfs/L_capable.sh
+++ b/tests/bfs/L_capable.sh
@@ -1,9 +1,9 @@
-skip_unless test "$SUDO"
-skip_unless test "$UNAME" = "Linux"
+test "$SUDO" || skip
+test "$UNAME" = "Linux" || skip
clean_scratch
-skip_unless invoke_bfs scratch -quit -capable
+invoke_bfs scratch -quit -capable || skip
"$XTOUCH" scratch/{normal,capable}
sudo setcap all+ep scratch/capable