]> git.notmuchmail.org Git - notmuch/commitdiff
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 12:09:20 +0000 (09:09 -0300)
Apparently nobody uses the list of "what was included in the dump"

test/T240-dump-restore.sh

index faa10364acf52a19a9553ebe515b4bb01bd81b61..7ea35953aecd3c23cba72b714d0bc2aaf819b9a9 100755 (executable)
@@ -2,6 +2,14 @@
 test_description="\"notmuch dump\" and \"notmuch restore\""
 . ./test-lib.sh || exit 1
 
 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' \
 add_email_corpus
 
 test_expect_success 'Dumping all tags' \