X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT450-emacs-show.sh;h=0342a8745b3d136e942809768a1a5ee6b0368419;hp=2a3a5356303a89ccfad1efe26f04bb2bf3dbbfe1;hb=e366bb222722d6a635b736e875b760d82b46d1f5;hpb=957fc2e1a7d00636c7eaaf487edae65e7a63dc8f diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index 2a3a5356..0342a874 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash test_description="emacs notmuch-show view" -. ./test-lib.sh +. ./test-lib.sh || exit 1 EXPECTED=$TEST_DIRECTORY/emacs-show.expected-output @@ -173,7 +173,8 @@ exit 1 EOF chmod a+x notmuch_fail test_emacs "(let ((notmuch-command \"$PWD/notmuch_fail\")) - (with-current-buffer \"*Messages*\" (erase-buffer)) + (with-current-buffer \"*Messages*\" + (let ((inhibit-read-only t)) (erase-buffer))) (condition-case err (notmuch-show \"*\") (error (message \"%s\" (second err))))