From 56300b1dc28f4acef88821364419933459d931f6 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Sun, 30 Aug 2009 01:27:45 +0100 Subject: tests: don't misbehave if $TMPDIR contains spaces * tests/misc/xattr: Add quotes. * tests/mv/acl: Likewise. * tests/mv/backup-is-src: Likewise. * tests/mv/hard-link-1: Likewise. * tests/mv/leak-fd: Likewise. * tests/mv/mv-special-1: Likewise. * tests/mv/part-fail: Likewise. * tests/mv/part-hardlink: Likewise. * tests/mv/part-rename: Likewise. * tests/mv/part-symlink: Likewise. * tests/mv/partition-perm: Likewise. * tests/mv/sticky-to-xpart: Likewise. --- tests/mv/hard-link-1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/mv/hard-link-1') diff --git a/tests/mv/hard-link-1 b/tests/mv/hard-link-1 index 7bcc0493a..2df2cf3ff 100755 --- a/tests/mv/hard-link-1 +++ b/tests/mv/hard-link-1 @@ -32,10 +32,10 @@ mkdir $dir || framework_failure > $dir/a || framework_failure ln $dir/a $dir/b || framework_failure -mv $dir $other_partition_tmpdir || fail=1 +mv $dir "$other_partition_tmpdir" || fail=1 # Display inode numbers, one per line. -ls -1i $other_partition_tmpdir/$dir > out || fail=1 +ls -1i "$other_partition_tmpdir/$dir" > out || fail=1 # Make sure the inode numbers are the same. a=`sed -n 's/ a$//p' out` -- cgit v1.2.3-54-g00ecf