X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT050-new.sh;fp=test%2FT050-new.sh;h=009b26336a73e9c88c415d9e1ea909d68060e367;hp=dfc8508f83e20ea93d370ec6a059d12df52e93db;hb=99a7aac8f2af6f3adb8f816be46ee33eb1d57515;hpb=29a58ecf4a8859766861170cd6f7adec9441edea diff --git a/test/T050-new.sh b/test/T050-new.sh index dfc8508f..009b2633 100755 --- a/test/T050-new.sh +++ b/test/T050-new.sh @@ -341,9 +341,9 @@ notmuch config set new.tags $OLDCONFIG 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_NEW --debug 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"