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
Added a --no-cd option to support/lsh so that the script can be used by
[rsync/rsync.git]
/
testsuite
/
daemon.test
diff --git
a/testsuite/daemon.test
b/testsuite/daemon.test
index
7717843
..
994a994
100644
(file)
--- a/
testsuite/daemon.test
+++ b/
testsuite/daemon.test
@@
-24,20
+24,7
@@
. "$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"
+SSH="src/support/lsh --no-cd"
build_rsyncd_conf
build_rsyncd_conf
@@
-54,7
+41,7
@@
case `id -u` in
;;
esac
;;
esac
-$RSYNC -ve
$SSH
--rsync-path="$RSYNC$confopt" localhost::
+$RSYNC -ve
"$SSH"
--rsync-path="$RSYNC$confopt" localhost::
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG