summaryrefslogtreecommitdiff
path: root/tests/touch/empty-file
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch/empty-file')
-rwxr-xr-xtests/touch/empty-file4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/touch/empty-file b/tests/touch/empty-file
index 8dcc49dd9..849b91489 100755
--- a/tests/touch/empty-file
+++ b/tests/touch/empty-file
@@ -15,11 +15,11 @@ fi
# FIXME: find writable directories on other partitions
# and run the test in those directories, too.
-dirs=.
+: ${TOUCH_DIR_LIST=.}
framework_failure=0
-for d in $dirs; do
+for d in $TOUCH_DIR_LIST; do
rm -rf $d/a $d/b
: > $d/a || framework_failure=1
: > $d/b || framework_failure=1