X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT150-tagging.sh;h=0d0a3b874526dccd24166066be3767fbe29efea5;hp=61d1311608a755c5815bf545ff46170036339fa5;hb=0497d695ca796c4d19ad5ec08788bbb1f400c58c;hpb=d0cd253b37646d9364d046e1d3edb022a58c105a diff --git a/test/T150-tagging.sh b/test/T150-tagging.sh index 61d13116..0d0a3b87 100755 --- a/test/T150-tagging.sh +++ b/test/T150-tagging.sh @@ -19,8 +19,11 @@ test_expect_equal "$output" "\ thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; One (inbox tag3 unread) thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Two (inbox tag3 unread)" -test_expect_code 1 "No tag operations" 'notmuch tag One' -test_expect_code 1 "No query" 'notmuch tag +tag2' +test_begin_subtest "No tag operations" +test_expect_code 1 'notmuch tag One' + +test_begin_subtest "No query" +test_expect_code 1 'notmuch tag +tag2' test_begin_subtest "Redundant tagging" notmuch tag +tag1 -tag3 One @@ -282,9 +285,11 @@ notmuch dump --format=batch-tag| \ test_expect_equal_file EXPECTED OUTPUT -test_expect_code 1 "Empty tag names" 'notmuch tag + One' +test_begin_subtest "Empty tag names" +test_expect_code 1 'notmuch tag + One' -test_expect_code 1 "Tag name beginning with -" 'notmuch tag +- One' +test_begin_subtest "Tag name beginning with -" +test_expect_code 1 'notmuch tag +- One' test_begin_subtest "Xapian exception: read only files" chmod u-w ${MAIL_DIR}/.notmuch/xapian/*.${db_ending}