mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-04-29 02:25:45 -04:00
Try to fix error on Solaris:
+ [ -f /export/home/build/build_farm/rsync/testtmp.symlink-ignore/to/referent ] + [ -d /export/home/build/build_farm/rsync/testtmp.symlink-ignore/to/from ] + [ -L /export/home/build/build_farm/rsync/testtmp.symlink-ignore/to/dangling ] ./testsuite/symlink-ignore.test: test: argument expected Solaris says it supports -L, so I'm not sure what's happening...
This commit is contained in:
@@ -18,11 +18,11 @@ build_symlinks || test_fail "failed to build symlinks"
|
||||
# should be missing.
|
||||
"$rsync_bin" -r "$fromdir/" "$todir" || test_fail "rsync returned $?"
|
||||
|
||||
[ -f "$todir/referent" ] || test_fail "referent was not copied"
|
||||
[ -d "$todir/from" ] && test_fail "extra level of directories"
|
||||
[ -L "$todir/dangling" ] && test_fail "dangling symlink was copied"
|
||||
[ -L "$todir/relative" ] && test_fail "relative symlink was copied"
|
||||
[ -L "$todir/absolute" ] && test_fail "absolute symlink was copied"
|
||||
[ -f "${todir}/referent" ] || test_fail "referent was not copied"
|
||||
[ -d "${todir}/from" ] && test_fail "extra level of directories"
|
||||
[ -L "${todir}/dangling" ] && test_fail "dangling symlink was copied"
|
||||
[ -L "${todir}/relative" ] && test_fail "relative symlink was copied"
|
||||
[ -L "${todir}/absolute" ] && test_fail "absolute symlink was copied"
|
||||
|
||||
exit 0
|
||||
# last [] may have failed but if we get here then we've one
|
||||
|
||||
Reference in New Issue
Block a user