summaryrefslogtreecommitdiff
path: root/tests/touch/empty-file
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-18 14:06:38 +0000
committerJim Meyering <jim@meyering.net>1998-07-18 14:06:38 +0000
commitb15e832f4d5152690b37bf91994e26069949068d (patch)
treef5166113debf59b1d35379c6e9ef01adaccfe74e /tests/touch/empty-file
parente77a16efeca09a2cac2b95b49c7a453e05fb23ac (diff)
downloadcoreutils-b15e832f4d5152690b37bf91994e26069949068d.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/touch/empty-file')
-rwxr-xr-xtests/touch/empty-file8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/touch/empty-file b/tests/touch/empty-file
index e77d3409e..52175dee7 100755
--- a/tests/touch/empty-file
+++ b/tests/touch/empty-file
@@ -20,9 +20,11 @@ fi
framework_failure=0
for d in $TOUCH_DIR_LIST; do
- rm -rf $d/a $d/b
- : > $d/a || framework_failure=1
- : > $d/b || framework_failure=1
+ $RM -rf $d/a $d/b
+ > $d/a || framework_failure=1
+ test -f $d/a || framework_failure=1
+ > $d/b || framework_failure=1
+ test -f $d/b || framework_failure=1
done
if test $framework_failure = 1; then