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 ENSURE_MEMSPACE() macro and use it in more places in glob code.
[rsync/rsync.git]
/
testsuite
/
daemon.test
diff --git
a/testsuite/daemon.test
b/testsuite/daemon.test
index
8b1cab1
..
439b883
100644
(file)
--- a/
testsuite/daemon.test
+++ b/
testsuite/daemon.test
@@
-24,8
+24,30
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+SSH="$scratchdir/pretend-ssh"
+
+cat >"$SSH" <<'EOT'
+while : ; do
+ case "$1" in
+ -*) shift ;;
+ localhost) shift; break ;;
+ *) exit 1 ;;
+ esac
+done
+
+eval "${@}"
+EOT
+chmod +x "$SSH"
+
build_rsyncd_conf
build_rsyncd_conf
-export RSYNC_CONNECT_PROG="$rsync_bin --config=$conf --daemon"
+cd "$scratchdir"
+
+ln -s test-rsyncd.conf rsyncd.conf
+
+$RSYNC -ve $SSH --rsync-path="$RSYNC" localhost::
+
+RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
+export RSYNC_CONNECT_PROG
-$
rsync_bin
-v localhost::
+$
RSYNC
-v localhost::