diff options
Diffstat (limited to 'tests/mv')
-rwxr-xr-x | tests/mv/into-self | 3 |
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 |