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
* Make "make install-strip" works properly, and "make install"
[rsync/rsync.git]
/
testsuite
/
rsync.fns
diff --git
a/testsuite/rsync.fns
b/testsuite/rsync.fns
index
6aee8de
..
cf4037d
100644
(file)
--- a/
testsuite/rsync.fns
+++ b/
testsuite/rsync.fns
@@
-24,6
+24,9
@@
TO=${TMP}/to
LOG=${TMP}/log
RSYNC="$rsync_bin"
LOG=${TMP}/log
RSYNC="$rsync_bin"
+# Berkley's nice.
+PATH="$PATH:/usr/ucb"
+
runtest() {
echo $ECHO_N "Test $1: $ECHO_C"
if eval "$2"
runtest() {
echo $ECHO_N "Test $1: $ECHO_C"
if eval "$2"
@@
-201,10
+204,12
@@
use chroot = no
hosts allow = localhost, 127.0.0.1
log file = $logfile
hosts allow = localhost, 127.0.0.1
log file = $logfile
-[test-from] = $scratchdir/daemon-from/
+[test-from]
+ path = $FROM
read only = yes
read only = yes
-[test-to] = $scratchdir/daemon-to/
+[test-to]
+ path = $TO
read only = no
EOF
}
read only = no
EOF
}
@@
-239,5
+244,10
@@
test_xfail() {
exit 78
}
exit 78
}
+# Test whether something is a link, allowing for shell peculiarities
+is_a_link() {
+ test -L "$1" || test -h "$1" || /usr/bin/test -L "$1" || /usr/bin/test -h "$1"
+}
+
# be reproducible
umask 077
\ No newline at end of file
# be reproducible
umask 077
\ No newline at end of file