From 92a4f07352c6afd7b02785f94249daa2ad693bdd Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 27 May 2024 11:19:25 -0400 Subject: tests/posix: Add a test for -prune with EACCESS Link: https://savannah.gnu.org/bugs/?60207 --- tests/posix/prune_error.out | 1 + tests/posix/prune_error.sh | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 tests/posix/prune_error.out create mode 100644 tests/posix/prune_error.sh (limited to 'tests/posix') diff --git a/tests/posix/prune_error.out b/tests/posix/prune_error.out new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/tests/posix/prune_error.out @@ -0,0 +1 @@ +. 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 -- cgit v1.2.3