summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-06-30 12:02:48 -0700
committerWayne Davison <wayne@opencoder.net>2020-06-30 12:16:52 -0700
commit317beebef8b0f60eb36255b35cbea71c84f6ac38 (patch)
tree8c98763dc136dcae7aa758680b191f411d3690c5 /testsuite
parent7a413c972246250a8fc8302548489c031de3b0c1 (diff)
downloadrsync-317beebef8b0f60eb36255b35cbea71c84f6ac38.tar.gz
Avoid crash of transfer logging w/default log format.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/rsync.fns6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns
index 246aab0c..58701fd7 100644
--- a/testsuite/rsync.fns
+++ b/testsuite/rsync.fns
@@ -297,8 +297,9 @@ use chroot = no
munge symlinks = no
hosts allow = localhost 127.0.0.0/24 192.168.0.0/16 10.0.0.0/8 $hostname
log file = $logfile
-log format = %i %h [%a] %m (%u) %l %f%L
transfer logging = yes
+# We don't define log format here so that the test-hidden module will default
+# to the internal static string (since we had a crash trying to tweak it).
exclude = ? foobar.baz
max verbosity = 4
$uid_setting
@@ -306,16 +307,19 @@ $gid_setting
[test-from]
path = $fromdir
+ log format = %i %h [%a] %m (%u) %l %f%L
read only = yes
comment = r/o
[test-to]
path = $todir
+ log format = %i %h [%a] %m (%u) %l %f%L
read only = no
comment = r/w
[test-scratch]
path = $scratchdir
+ log format = %i %h [%a] %m (%u) %l %f%L
read only = no
[test-hidden]