From: Kern Sibbald Date: Sun, 1 Nov 2009 09:09:53 +0000 (+0100) Subject: Add more debug on failed source-addr regression X-Git-Tag: Release-5.0.0~281^2~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4d31d27c9ff2ce8fef99dfd5eb7b1caba45ff63d;p=bacula%2Fbacula Add more debug on failed source-addr regression --- diff --git a/regress/tests/source-addr-test b/regress/tests/source-addr-test index 8efe3e325d..644e4a3d1f 100755 --- a/regress/tests/source-addr-test +++ b/regress/tests/source-addr-test @@ -84,6 +84,10 @@ if [ $? -ne 0 ]; then print_debug "Couldn't detect a connection to the FD sourced from SourceAddress ${IP}" fi +if [ "$stat" = 2 ] ; then + netstat -tan +fi + if [ "$debug" = 1 ] ; then cat $tmp/log3.out fi