From 05bef44b891c1571630c84458a2477ebbabee46f Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 5 Nov 2009 20:48:55 +0100 Subject: [PATCH] More debug when test fails --- regress/tests/weird-files2-test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/regress/tests/weird-files2-test b/regress/tests/weird-files2-test index 9db7b5695e..0dc17aa872 100755 --- a/regress/tests/weird-files2-test +++ b/regress/tests/weird-files2-test @@ -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 -- 2.39.5