X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/37c3cf430d996cf0501b083c2c3279a0bc7da95f..d2094cc33dd87229f453176918e4ae2c2536f88e:/testsuite/rsync.fns diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns index 996f9218..40c96590 100644 --- a/testsuite/rsync.fns +++ b/testsuite/rsync.fns @@ -100,3 +100,47 @@ checkforlogs() { fi } + +function build_rsyncd_conf { + # Build an appropriate configuration file + conf="$scratchdir/test-rsyncd.conf" + echo "building configuration $conf" + + port=2612 + pidfile="$scratchdir/rsyncd.pid" + logfile="$scratchdir/rsyncd.log" + + cat >$conf <