X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/37c3cf430d996cf0501b083c2c3279a0bc7da95f..4a7cb3e8a82c5b641ef4344a41af33847922f4c2:/testsuite/rsync.fns diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns index 996f9218..a80a96cb 100644 --- a/testsuite/rsync.fns +++ b/testsuite/rsync.fns @@ -100,3 +100,30 @@ checkforlogs() { fi } + +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 <