X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT150-tagging.sh;h=208b4b9806405e5c4e90b8d7f1af56afe6a4e412;hp=6140c67686305f8959bc7398ad819212cfb38ee4;hb=ad60e5d4e8a6736af28f326803dbd38620e71ae8;hpb=2f4beda434c59f9e2f5b7c32d26543bad7217ad4 diff --git a/test/T150-tagging.sh b/test/T150-tagging.sh index 6140c676..208b4b98 100755 --- a/test/T150-tagging.sh +++ b/test/T150-tagging.sh @@ -130,6 +130,19 @@ EOF test_expect_equal_file batch_removeall.expected OUTPUT rm batch_removeall.expected +test_begin_subtest "--batch, dependence on previous line" +notmuch dump --format=batch-tag > backup.tags +notmuch tag --batch< OUTPUT +notmuch restore --format=batch-tag < backup.tags +cat <EXPECTED ++inbox +second_tag +tag5 +trigger +unread -- id:msg-001@notmuch-test-suite +EOF +test_expect_equal_file EXPECTED OUTPUT + test_begin_subtest "--batch, blank lines and comments" notmuch dump | sort > EXPECTED notmuch tag --batch <