]> git.sur5r.net Git - bacula/bacula/commitdiff
More debug when test fails
authorKern Sibbald <kern@sibbald.com>
Thu, 5 Nov 2009 19:48:55 +0000 (20:48 +0100)
committerKern Sibbald <kern@sibbald.com>
Thu, 5 Nov 2009 19:48:55 +0000 (20:48 +0100)
regress/tests/weird-files2-test

index 9db7b5695e5b4318490ed8aaa4713c3aa7e58882..0dc17aa8726adedc855698a6fdd3696329eb1a88 100755 (executable)
@@ -78,5 +78,8 @@ check_two_logs
 diff -u ${cwd}/tmp/original ${cwd}/tmp/restored 2>&1 >/dev/null
 #diff -u ${cwd}/tmp/original ${cwd}/tmp/restored
 dstat=$?
+if test $dstat -ne 0; then
+   diff -u ${cwd}/tmp/original ${cwd}/tmp/restored
+fi
 
 end_test