X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT050-new.sh;h=f38e626354f2b573e448c3c5af1c4ff5d4a751a2;hb=e311aad182326a1dcb0f8512e10b0e0f0faa9e2c;hp=93a6fa94ae7cc9c1377194563f7b6ae8d24730ae;hpb=deb4e5567c42afe834d83868b9337277256a0d66;p=notmuch diff --git a/test/T050-new.sh b/test/T050-new.sh index 93a6fa94..f38e6263 100755 --- a/test/T050-new.sh +++ b/test/T050-new.sh @@ -284,9 +284,9 @@ notmuch config set new.tags $OLDCONFIG test_begin_subtest "Xapian exception: read only files" -chmod u-w ${MAIL_DIR}/.notmuch/xapian/*.DB +chmod u-w ${MAIL_DIR}/.notmuch/xapian/*.${db_ending} output=$(NOTMUCH_NEW --debug 2>&1 | sed 's/: .*$//' ) -chmod u+w ${MAIL_DIR}/.notmuch/xapian/*.DB +chmod u+w ${MAIL_DIR}/.notmuch/xapian/*.${db_ending} test_expect_equal "$output" "A Xapian exception occurred opening database" test_done