From: David Bremner <bremner@debian.org>
Date: Tue, 13 Sep 2011 12:31:46 +0000 (-0300)
Subject: test: use test_expect_equal_file in atomicity
X-Git-Tag: 0.9_rc1~27
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=73ed66a501537fc145b6b6250513ec94c7b7e659;p=obsolete%2Fnotmuch-old

test: use test_expect_equal_file in atomicity

The documentation claims this is more robust, and it seems to work
fine to switch to the _file variant.
---

diff --git a/test/atomicity b/test/atomicity
index ca5c44d7..88b39587 100755
--- a/test/atomicity
+++ b/test/atomicity
@@ -95,7 +95,7 @@ done
 
 test_begin_subtest '"notmuch new" is idempotent under arbitrary aborts'
 test_subtest_known_broken
-test_expect_equal GDB "$(cat searchall)" "$(cat expectall)"
+test_expect_equal_file GDB searchall expectall
 
 test_expect_success GDB "detected $outcount>10 abort points" "test $outcount -gt 10"