diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-27 11:19:25 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-05-27 11:19:25 -0400 |
commit | 92a4f07352c6afd7b02785f94249daa2ad693bdd (patch) | |
tree | 4d51110ac145543b1a0c01e3c47dd8854475e51d /tests/posix/prune_error.sh | |
parent | 867261b3165d8c619732555049824173af09206a (diff) | |
download | bfs-92a4f07352c6afd7b02785f94249daa2ad693bdd.tar.xz |
tests/posix: Add a test for -prune with EACCESS
Link: https://savannah.gnu.org/bugs/?60207
Diffstat (limited to 'tests/posix/prune_error.sh')
-rw-r--r-- | tests/posix/prune_error.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/posix/prune_error.sh b/tests/posix/prune_error.sh new file mode 100644 index 0000000..9158a17 --- /dev/null +++ b/tests/posix/prune_error.sh @@ -0,0 +1,8 @@ +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 |