]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sun, 22 Mar 1998 20:38:44 +0000 (20:38 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 22 Mar 1998 20:38:44 +0000 (20:38 +0000)
tests/mv/into-self

index c7b29b6bd701e094f889eca643f3d8b17ada561e..860940aafadfe8c75ba59f3fb922e373c8ef78cf 100755 (executable)
@@ -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