summaryrefslogtreecommitdiffstats
path: root/tests/gnu/printf_Y_error.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gnu/printf_Y_error.sh')
-rw-r--r--tests/gnu/printf_Y_error.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gnu/printf_Y_error.sh b/tests/gnu/printf_Y_error.sh
index 933c734..6487711 100644
--- a/tests/gnu/printf_Y_error.sh
+++ b/tests/gnu/printf_Y_error.sh
@@ -1,4 +1,4 @@
-rm -rf scratch/*
+clean_scratch
mkdir scratch/foo
chmod -x scratch/foo
ln -s foo/bar scratch/bar
@@ -7,6 +7,6 @@ bfs_diff scratch -printf '(%p) (%l) %y %Y\n'
ret=$?
chmod +x scratch/foo
-rm -rf scratch/*
+clean_scratch
[ $ret -eq $EX_BFS ]