From 597aa41a5c1fc8f51e45dfc095eaf1aa99821bca Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 4 Jun 2024 16:40:31 -0400 Subject: tests: New inaccessible/ directory tree for permission errors --- tests/common/empty_error.out | 4 +--- tests/common/empty_error.sh | 8 +------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'tests/common') diff --git a/tests/common/empty_error.out b/tests/common/empty_error.out index da45e23..49f773d 100644 --- a/tests/common/empty_error.out +++ b/tests/common/empty_error.out @@ -1,3 +1 @@ -./bar -./baz -./qux +inaccessible/file diff --git a/tests/common/empty_error.sh b/tests/common/empty_error.sh index 7c8049c..3438cca 100644 --- a/tests/common/empty_error.sh +++ b/tests/common/empty_error.sh @@ -1,7 +1 @@ -cd "$TEST" - -"$XTOUCH" -p foo/ bar/ baz qux -chmod -r foo baz -defer chmod +r foo baz - -! bfs_diff . -empty +! bfs_diff inaccessible -empty -- cgit v1.2.3