Use $suitedir to find rsync.fns.

This commit is contained in:
Wayne Davison committed 2004-05-18 00:41:40 +00:00
1 parent 7892e5ac77
commit e920830ec5
5 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
# specify -H, then hard links are detected and recreated as hardlinks
# on the other end.
. $srcdir/testsuite/rsync.fns
. "$suitedir/rsync.fns"
set -x
+6 -6
View File
@@ -8,7 +8,7 @@
# Test rsync's somewhat over-featured symlink control: the default
# behaviour is that symlinks should not be copied at all.
. $srcdir/testsuite/rsync.fns
. "$suitedir/rsync.fns"
set -x
@@ -18,19 +18,19 @@ build_symlinks || test_fail "failed to build symlinks"
# should be missing.
$RSYNC -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"
if is_a_link "${todir}/dangling"
[ -f "$todir/referent" ] || test_fail "referent was not copied"
[ -d "$todir/from" ] && test_fail "extra level of directories"
if is_a_link "$todir/dangling"
then
test_fail "dangling symlink was copied"
fi
if is_a_link "${todir}/relative"
if is_a_link "$todir/relative"
then
test_fail "relative symlink was copied"
fi
if is_a_link "${todir}/absolute"
if is_a_link "$todir/absolute"
then
test_fail "absolute symlink was copied"
fi
+1 -1
View File
@@ -7,7 +7,7 @@
# Test tiny function to trim trailing slashes.
. $srcdir/testsuite/rsync.fns
. "$suitedir/rsync.fns"
set -x
+1 -1
View File
@@ -4,7 +4,7 @@
# Call directly into unsafe_symlink and test its handling of various filenames
. $srcdir/testsuite/rsync.fns
. "$suitedir/rsync.fns"
test_unsafe() {
# $1 is the target of a symlink
+1 -1
View File
@@ -7,7 +7,7 @@
# Test the wildmatch functionality
. $srcdir/testsuite/rsync.fns
. "$suitedir/rsync.fns"
set -x