diff --git a/test/notmuch-test b/test/notmuch-test index c6703f0e..676b66ec 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -168,8 +168,10 @@ pass_if_equal () echo " PASS" else echo " FAIL" - echo " Expected output: $expected" - echo " Actual output: $output" + testname=test-$(printf "%03d" $tests) + echo "$expected" > $testname.expected + echo "$output" > $testname.output + diff -u $testname.expected $testname.output || true test_failures=$((test_failures + 1)) fi }