summaryrefslogtreecommitdiffstats
path: root/tests/posix/prune_error.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-06-04 16:40:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-06-04 16:40:31 -0400
commit597aa41a5c1fc8f51e45dfc095eaf1aa99821bca (patch)
tree73ab49920b375e43ccfa14c6beeee8e6694d97d1 /tests/posix/prune_error.sh
parent0410d8ee2575158686767ae0b0a7ad46d1ea54eb (diff)
downloadbfs-597aa41a5c1fc8f51e45dfc095eaf1aa99821bca.tar.xz
tests: New inaccessible/ directory tree for permission errors
Diffstat (limited to 'tests/posix/prune_error.sh')
-rw-r--r--tests/posix/prune_error.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/posix/prune_error.sh b/tests/posix/prune_error.sh
index 9158a17..07a2523 100644
--- a/tests/posix/prune_error.sh
+++ b/tests/posix/prune_error.sh
@@ -1,8 +1 @@
-cd "$TEST"
-"$XTOUCH" -p foo/bar
-ln -s foo/bar baz
-
-chmod a-rx foo
-defer chmod +rx foo
-
-! bfs_diff -L . -name '???' -prune -o -print
+! bfs_diff -L inaccessible -path '*/*' -prune -o -print