Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved a comment.
[rsync/rsync.git]
/
testsuite
/
unsafe-links.test
diff --git
a/testsuite/unsafe-links.test
b/testsuite/unsafe-links.test
index
a1e197b
..
058269e
100644
(file)
--- a/
testsuite/unsafe-links.test
+++ b/
testsuite/unsafe-links.test
@@
-2,7
+2,7
@@
# Originally by Vladimír Michl <Vladimir.Michl@hlubocky.del.cz>
# 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"
test_symlink() {
is_a_link "$1" || test_fail "File $1 is not a symlink"
@@
-14,7
+14,7
@@
test_regular() {
fi;
};
fi;
};
-cd "$
TMP
"
+cd "$
tmpdir
"
mkdir from
mkdir from
@@
-32,8
+32,6
@@
ln -s ../files/file1 "from/safe/links/"
ln -s ../files/file2 "from/safe/links/"
ln -s ../../unsafe/unsafefile "from/safe/links/"
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
echo "rsync with relative path and just -a";
$RSYNC -avv from/safe/ to
test_symlink to/links/file1