diff options
Diffstat (limited to 'tests/posix')
-rw-r--r-- | tests/posix/depth_error.out | 6 | ||||
-rw-r--r-- | tests/posix/depth_error.sh | 8 | ||||
-rw-r--r-- | tests/posix/prune_error.out | 2 | ||||
-rw-r--r-- | tests/posix/prune_error.sh | 9 |
4 files changed, 7 insertions, 18 deletions
diff --git a/tests/posix/depth_error.out b/tests/posix/depth_error.out index 7ed5f0d..c4f8ce4 100644 --- a/tests/posix/depth_error.out +++ b/tests/posix/depth_error.out @@ -1,2 +1,4 @@ -. -./foo +inaccessible +inaccessible/dir +inaccessible/file +inaccessible/link diff --git a/tests/posix/depth_error.sh b/tests/posix/depth_error.sh index db414ba..9b29385 100644 --- a/tests/posix/depth_error.sh +++ b/tests/posix/depth_error.sh @@ -1,7 +1 @@ -cd "$TEST" -"$XTOUCH" -p foo/bar - -chmod a-r foo -defer chmod +r foo - -! bfs_diff . -depth +! bfs_diff inaccessible -depth diff --git a/tests/posix/prune_error.out b/tests/posix/prune_error.out index 9c558e3..436c48e 100644 --- a/tests/posix/prune_error.out +++ b/tests/posix/prune_error.out @@ -1 +1 @@ -. +inaccessible 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 |