test: add known broken test for dump header
authorDavid Bremner <david@tethera.net>
Tue, 28 Mar 2017 11:09:02 +0000 (08:09 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 1 Apr 2017 00:18:54 +0000 (21:18 -0300)
Apparently nobody uses the list of "what was included in the dump"

test/T240-dump-restore.sh

index 206c3ae14560c9e3436ecc6e5e01f8bce48c0cdc..f626a19e4b1ad931f475645984656e25dbdc0f9b 100755 (executable)
@@ -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"