X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT240-dump-restore.sh;h=105de130bf240c69a1f232159c23f6b7902e3811;hb=97fadd0645e908ff8322577a983dc710bfda33d6;hp=da7502c99a1ddcca4aa3a6aa5f80b8821d3f3395;hpb=d12d91f82801d784f49939756ec9643a9cada60c;p=notmuch diff --git a/test/T240-dump-restore.sh b/test/T240-dump-restore.sh index da7502c9..105de130 100755 --- a/test/T240-dump-restore.sh +++ b/test/T240-dump-restore.sh @@ -65,7 +65,7 @@ test_begin_subtest "Accumulate with new tags" test_expect_success \ 'notmuch restore --input=dump.expected && notmuch restore --accumulate --input=dump-ABC_DEF.expected && - notmuch dump > OUTPUT.$test_count && + notmuch dump > OUTPUT.$test_count && notmuch restore --input=dump.expected && test_cmp dump-ABC_DEF.expected OUTPUT.$test_count' @@ -235,7 +235,7 @@ test_expect_equal_file EXPECTED.$test_count OUTPUT.$test_count test_begin_subtest 'format=batch-tag, checking encoded output' NOTMUCH_DUMP_TAGS --format=batch-tag -- from:cworth |\ awk "{ print \"+$enc1 +$enc2 +$enc3 -- \" \$5 }" > EXPECTED.$test_count -NOTMUCH_DUMP_TAGS --format=batch-tag -- from:cworth > OUTPUT.$test_count +NOTMUCH_DUMP_TAGS --format=batch-tag -- from:cworth > OUTPUT.$test_count test_expect_equal_file EXPECTED.$test_count OUTPUT.$test_count test_begin_subtest 'restoring sane tags'