]> git.notmuchmail.org Git - notmuch/blobdiff - test/T240-dump-restore.sh
Merge branch 'release'
[notmuch] / test / T240-dump-restore.sh
index 206c3ae14560c9e3436ecc6e5e01f8bce48c0cdc..1f1f08667ada652ec57ebe3d293dd3ff402d4fce 100755 (executable)
@@ -2,6 +2,13 @@
 test_description="\"notmuch dump\" and \"notmuch restore\""
 . ./test-lib.sh || exit 1
 
+NOTMUCH_NEW > /dev/null
+test_begin_subtest "dump header"
+cat <<EOF > EXPECTED
+#notmuch-dump batch-tag:3 config,properties,tags
+EOF
+notmuch dump > OUTPUT
+test_expect_equal_file EXPECTED OUTPUT
 add_email_corpus
 
 test_begin_subtest "Dumping all tags"