X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT240-dump-restore.sh;h=1f1f08667ada652ec57ebe3d293dd3ff402d4fce;hb=33e58021958f8069ad46d7bd05cf586676fb6ae7;hp=206c3ae14560c9e3436ecc6e5e01f8bce48c0cdc;hpb=a8a270522231b186493ecd97d56a1343382d51d8;p=notmuch diff --git a/test/T240-dump-restore.sh b/test/T240-dump-restore.sh index 206c3ae1..1f1f0866 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_begin_subtest "Dumping all tags"