tests: cp/reflink-auto guard against a pathological $TMPDIR
authorJim Meyering <meyering@redhat.com>
Sat, 29 Aug 2009 06:31:26 +0000 (08:31 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 29 Aug 2009 15:29:32 +0000 (17:29 +0200)
* tests/cp/reflink-auto: Add quotes.

tests/cp/reflink-auto

index ff2b1b3..d1f6b2b 100755 (executable)
@@ -26,7 +26,7 @@ fi
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 a_other="$other_partition_tmpdir/a"
-rm -f $a_other || framework_failure
+rm -f "$a_other" || framework_failure
 
 echo non_zero_size > "$a_other"