3 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # This program is distributable under the terms of the GNU GPL (see
8 # We don't really want to start the server listening, because that
9 # might interfere with the security or operation of the test machine.
10 # Instead we use the fake-connect feature to dynamically assign a pair
13 # Having started the server we try some basic operations against it:
15 # getting a list of module
16 # listing files in a module
18 # uploading to a module
19 # checking the log file
20 # password authentication
22 # TODO: Put the common framework in a common file, so that we can have
23 # subtests fail and keep going.
25 . "$suitedir/rsync.fns"
27 SSH="$scratchdir/pretend-ssh"
33 localhost) shift; break ;;
46 ln -s test-rsyncd.conf rsyncd.conf
48 $RSYNC -ve $SSH --rsync-path="$RSYNC" localhost::
50 RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
51 export RSYNC_CONNECT_PROG