Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7892e5a
)
Use $suitedir to find rsync.fns.
author
Wayne Davison
<wayned@samba.org>
Tue, 18 May 2004 00:41:40 +0000
(
00:41
+0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 18 May 2004 00:41:40 +0000
(
00:41
+0000)
testsuite/hardlinks.test
patch
|
blob
|
blame
|
history
testsuite/symlink-ignore.test
patch
|
blob
|
blame
|
history
testsuite/trimslash.test
patch
|
blob
|
blame
|
history
testsuite/unsafe-byname.test
patch
|
blob
|
blame
|
history
testsuite/wildmatch.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/hardlinks.test
b/testsuite/hardlinks.test
index
a3391c5
..
31005e7
100644
(file)
--- a/
testsuite/hardlinks.test
+++ b/
testsuite/hardlinks.test
@@
-10,7
+10,7
@@
# specify -H, then hard links are detected and recreated as hardlinks
# on the other end.
# specify -H, then hard links are detected and recreated as hardlinks
# on the other end.
-.
$srcdir/testsuite/rsync.fns
+.
"$suitedir/rsync.fns"
set -x
set -x
diff --git
a/testsuite/symlink-ignore.test
b/testsuite/symlink-ignore.test
index
3f35021
..
42ce2d3
100644
(file)
--- a/
testsuite/symlink-ignore.test
+++ b/
testsuite/symlink-ignore.test
@@
-8,7
+8,7
@@
# Test rsync's somewhat over-featured symlink control: the default
# behaviour is that symlinks should not be copied at all.
# 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
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 $?"
# 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
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
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
then
test_fail "absolute symlink was copied"
fi
diff --git
a/testsuite/trimslash.test
b/testsuite/trimslash.test
index
4eac9ce
..
56e79cc
100644
(file)
--- a/
testsuite/trimslash.test
+++ b/
testsuite/trimslash.test
@@
-7,7
+7,7
@@
# Test tiny function to trim trailing slashes.
# Test tiny function to trim trailing slashes.
-.
$srcdir/testsuite/rsync.fns
+.
"$suitedir/rsync.fns"
set -x
set -x
diff --git
a/testsuite/unsafe-byname.test
b/testsuite/unsafe-byname.test
index
a4f5370
..
61e0e24
100644
(file)
--- a/
testsuite/unsafe-byname.test
+++ b/
testsuite/unsafe-byname.test
@@
-4,7
+4,7
@@
# Call directly into unsafe_symlink and test its handling of various filenames
# 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
test_unsafe() {
# $1 is the target of a symlink
diff --git
a/testsuite/wildmatch.test
b/testsuite/wildmatch.test
index
53123f4
..
71e0ff0
100644
(file)
--- a/
testsuite/wildmatch.test
+++ b/
testsuite/wildmatch.test
@@
-7,7
+7,7
@@
# Test the wildmatch functionality
# Test the wildmatch functionality
-.
$srcdir/testsuite/rsync.fns
+.
"$suitedir/rsync.fns"
set -x
set -x