# Originally by VladimĂr Michl <Vladimir.Michl@hlubocky.del.cz>
-. $srcdir/testsuite/rsync.fns
+. "$suitedir/rsync.fns"
test_symlink() {
is_a_link "$1" || test_fail "File $1 is not a symlink"
fi;
};
-cd "$TMP"
+cd "$tmpdir"
mkdir from
ln -s ../files/file2 "from/safe/links/"
ln -s ../../unsafe/unsafefile "from/safe/links/"
-set -x
-
echo "rsync with relative path and just -a";
$RSYNC -avv from/safe/ to
test_symlink to/links/file1