X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT240-dump-restore.sh;h=d45c9f87d17aca17aa0040ec8cd2e214acda21c1;hp=faa10364acf52a19a9553ebe515b4bb01bd81b61;hb=d47e18411807b57cac9aaa29a7435a9f83720b81;hpb=07dff496304d6dc2e8033a18691b095ed9cd212f diff --git a/test/T240-dump-restore.sh b/test/T240-dump-restore.sh index faa10364..d45c9f87 100755 --- a/test/T240-dump-restore.sh +++ b/test/T240-dump-restore.sh @@ -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 < EXPECTED +#notmuch-dump batch-tag:3 config,properties,tags +EOF +notmuch dump > OUTPUT +test_expect_equal_file EXPECTED OUTPUT add_email_corpus test_expect_success 'Dumping all tags' \