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 68d7313..e64f1b3 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