diff options
-rwxr-xr-x | runtests.sh | 3 | ||||
-rw-r--r-- | testsuite/rsync.fns | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/runtests.sh b/runtests.sh index 5c672dd2..77a2fa97 100755 --- a/runtests.sh +++ b/runtests.sh @@ -92,6 +92,9 @@ # they're in POSIX 1003.2, and since the build farm relies on them # they're probably working on most machines we really care about. +# You cannot use "function foo {" syntax, but must instead say "foo() +# {", or it breaks on FreeBSD. + set -e diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns index f5869a49..a80a96cb 100644 --- a/testsuite/rsync.fns +++ b/testsuite/rsync.fns @@ -101,7 +101,7 @@ checkforlogs() { } -function build_rsyncd_conf { +build_rsyncd_conf() { # Build an appropriate configuration file conf="$scratchdir/test-rsyncd.conf" echo "building configuration $conf" |