Fix quoting.
authorMartin Pool <mbp@samba.org>
Fri, 14 Dec 2001 05:44:04 +0000 (05:44 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 14 Dec 2001 05:44:04 +0000 (05:44 +0000)
testsuite/symlink-ignore.test

index 47425f3..13352f3 100644 (file)
@@ -16,11 +16,12 @@ build_symlinks || test_fail "failed to build symlinks"
 # should be missing.
 "$rsync_bin" -r "$fromdir/" "$todir" || test_fail "rsync returned $?"
 
-[ -e $todir/referent ] || test_fail "referent was not copied"
-[ -e $todir/from ] && test_fail "extra level of directories"
-[ -e $todir/dangling ] && test_fail "dangling symlink was copied"
-[ -e $todir/relative ] && test_fail "relative symlink was copied"
-[ -e $todir/absolute ] && test_fail "absolute symlink was copied"
-
-exit 0 # last [] may have failed but if we get here then we've one
+[ -e "$todir/referent" ] || test_fail "referent was not copied"
+[ -e "$todir/from" ] && test_fail "extra level of directories"
+[ -e "$todir/dangling" ] && test_fail "dangling symlink was copied"
+[ -e "$todir/relative" ] && test_fail "relative symlink was copied" 
+[ -e "$todir/absolute" ] && test_fail "absolute symlink was copied"
+
+exit 0
+# last [] may have failed but if we get here then we've one