Commit 60514d45 authored by Martin Pool's avatar Martin Pool

Fix quoting.

parent 5bc00efe
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment