X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/37c3cf430d996cf0501b083c2c3279a0bc7da95f..c13ad7ec4738990b45d7dc586f5b8e9931797fdd:/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 <