X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=f524ebf6701f0e261c3afaf14b0752a1861b4b4b;hb=f4148e9d21f391ecd2a2100588adb55d471dac18;hp=f8df6a5f1b8f921cabfd39d26a1763d388f30564;hpb=003e718020b335f329f852ff1a3da23873d2ff6e;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index f8df6a5f..f524ebf6 100755 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -462,6 +462,7 @@ test_expect_equal () fi } +# Like test_expect_equal, but takes two filenames. test_expect_equal_file () { exec 1>&6 2>&7 # Restore stdout and stderr @@ -724,7 +725,7 @@ test_external_without_stderr () { fi } -# This is not among top-level (test_expect_success | test_expect_failure) +# This is not among top-level (test_expect_success) # but is a prefix that can be used in the test script, like: # # test_expect_success 'complain and die' '