X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT150-tagging.sh;h=2f0b3531412db146e500eff1ea43235ab53284d2;hb=73b8f0b8d71af395667022395b6d6bb692c3aaf2;hp=208b4b9806405e5c4e90b8d7f1af56afe6a4e412;hpb=8dcc38ce85ce084d3f0f3cbeac7e4a768e651614;p=notmuch diff --git a/test/T150-tagging.sh b/test/T150-tagging.sh index 208b4b98..2f0b3531 100755 --- a/test/T150-tagging.sh +++ b/test/T150-tagging.sh @@ -305,9 +305,9 @@ 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} +chmod u-w ${MAIL_DIR}/.notmuch/xapian/*.* output=$(notmuch tag +something '*' 2>&1 | sed 's/: .*$//' ) -chmod u+w ${MAIL_DIR}/.notmuch/xapian/*.${db_ending} +chmod u+w ${MAIL_DIR}/.notmuch/xapian/*.* test_expect_equal "$output" "A Xapian exception occurred opening database" test_done