[PATCH 1/2] test: add known broken test for dump header

Subject: [PATCH 1/2] test: add known broken test for dump header

Date: Tue, 28 Mar 2017 08:09:02 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


Apparently nobody uses the list of "what was included in the dump"
---
 test/T240-dump-restore.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test/T240-dump-restore.sh b/test/T240-dump-restore.sh
index 206c3ae1..f626a19e 100755
--- a/test/T240-dump-restore.sh
+++ b/test/T240-dump-restore.sh
@@ -2,6 +2,14 @@
 test_description="\"notmuch dump\" and \"notmuch restore\""
 . ./test-lib.sh || exit 1
 
+NOTMUCH_NEW > /dev/null
+test_begin_subtest "dump header"
+test_subtest_known_broken
+cat <<EOF > EXPECTED
+#notmuch-dump batch-tag:2 config,properties,tags
+EOF
+notmuch dump > OUTPUT
+test_expect_equal_file EXPECTED OUTPUT
 add_email_corpus
 
 test_begin_subtest "Dumping all tags"
-- 
2.11.0


Thread: