aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-03-28 08:09:02 -0300
committerDavid Bremner <david@tethera.net>2017-04-01 09:09:20 -0300
commit704bd3d8a249b4041aa6a4204032f2b336f374e8 (patch)
tree63fa40a65beadbf0911b9ed27d16c78a50ca63d5
parenta30a78909a501aad3ecf4dd29fe5760ae902aab1 (diff)
test: add known broken test for dump header
Apparently nobody uses the list of "what was included in the dump"
-rwxr-xr-xtest/T240-dump-restore.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/T240-dump-restore.sh b/test/T240-dump-restore.sh
index faa10364..7ea35953 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_expect_success 'Dumping all tags' \