]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
If we encounter an error, output the rsyncd.log file, if it exists.
authorWayne Davison <wayned@samba.org>
Wed, 4 Feb 2004 05:34:29 +0000 (05:34 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 4 Feb 2004 05:34:29 +0000 (05:34 +0000)
runtests.sh

index 68d7313baf24d42cf6f1db282a89d5f5b682abb3..e64f1b3be941c289d25494cd8bbdac184d6e2d0b 100755 (executable)
@@ -220,6 +220,11 @@ do
        echo "----- $testbase log follows"
        cat "$scratchdir/test.log"
        echo "----- $testbase log ends"
+       if [ -f "$scratchdir/rsyncd.log" ]; then
+           echo "----- $testbase rsyncd.log follows"
+           cat "$scratchdir/rsyncd.log"
+           echo "----- $testbase rsyncd.log ends"
+       fi
     fi
 
     case $result in