summaryrefslogtreecommitdiffstats
path: root/tests/posix/depth_error.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix/depth_error.sh')
-rw-r--r--tests/posix/depth_error.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/posix/depth_error.sh b/tests/posix/depth_error.sh
index f770210..db414ba 100644
--- a/tests/posix/depth_error.sh
+++ b/tests/posix/depth_error.sh
@@ -1,11 +1,7 @@
-clean_scratch
-"$XTOUCH" -p scratch/foo/bar
-chmod a-r scratch/foo
+cd "$TEST"
+"$XTOUCH" -p foo/bar
-bfs_diff scratch -depth
-ret=$?
+chmod a-r foo
+defer chmod +r foo
-chmod +r scratch/foo
-clean_scratch
-
-[ $ret -eq $EX_BFS ]
+! bfs_diff . -depth