summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-03-22 20:38:44 +0000
committerJim Meyering <jim@meyering.net>1998-03-22 20:38:44 +0000
commite8ab1c28f8bee2ef96efd5e26e20fdd5fdea653a (patch)
treec761239187e758cb8296122562c156b8625d3be7 /tests/mv
parentdf4ba7d9ca38f15d318e594f7e8b53f055a6d1d5 (diff)
downloadcoreutils-e8ab1c28f8bee2ef96efd5e26e20fdd5fdea653a.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/mv')
-rwxr-xr-xtests/mv/into-self3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mv/into-self b/tests/mv/into-self
index c7b29b6bd..860940aaf 100755
--- a/tests/mv/into-self
+++ b/tests/mv/into-self
@@ -10,7 +10,7 @@ file=into-self-file
test_failure=0
-$RM -f $dir $file || test_failure=1
+$RM -rf $dir $file || test_failure=1
$MKDIR -p $dir/a/b || test_failure=1
$TOUCH $file || test_failure=1
@@ -27,5 +27,6 @@ test -f $file && fail=1
test -d $dir/$dir/a/b || fail=1
# Make sure the file has been moved to the right place.
test -f $dir/$file || fail=1
+$RM -rf $dir $file
exit $fail