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.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/posix/depth_error.sh b/tests/posix/depth_error.sh
index 9acf976..e1267f4 100644
--- a/tests/posix/depth_error.sh
+++ b/tests/posix/depth_error.sh
@@ -1,4 +1,4 @@
-rm -rf scratch/*
+clean_scratch
touchp scratch/foo/bar
chmod a-r scratch/foo
@@ -6,6 +6,6 @@ bfs_diff scratch -depth
ret=$?
chmod +r scratch/foo
-rm -rf scratch/*
+clean_scratch
[ $ret -eq $EX_BFS ]