X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT450-emacs-show.sh;h=5bb5b201a53faa1d0c11fbaa0319b3a085b2b0b6;hb=7556bb7da27621895327b84d22abba2519c24ba7;hp=9d08d2ccf933bc99f08c358143563e0783607db4;hpb=8dbd5deb8d3bbfda9554163c8d4cb2474c505c87;p=notmuch diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index 9d08d2cc..5bb5b201 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -192,7 +192,7 @@ test_expect_equal "$(notmuch_emacs_error_sanitize notmuch_fail OUTPUT MESSAGES E This is an error (see *Notmuch errors* for more details) === ERROR === This is an error -command: YYY/notmuch_fail show --format\\=sexp --format-version\\=4 --decrypt\\=true --exclude\\=false \\' \\* \\' +command: YYY/notmuch_fail show --format\\=sexp --format-version\\=5 --decrypt\\=true --exclude\\=false \\' \\* \\' exit status: 1 stderr: This is an error @@ -219,6 +219,12 @@ test_emacs '(notmuch-show "id:basic-encrypted@crypto.notmuchmail.org") (test-visible-output)' test_expect_equal_file $EXPECTED/notmuch-show-decrypted-message OUTPUT +test_begin_subtest "show encrypted rfc822 message" +test_subtest_known_broken +test_emacs '(notmuch-show "id:encrypted-rfc822-attachment@crypto.notmuchmail.org") + (test-visible-output)' +test_expect_code 1 'fgrep "!!!" OUTPUT' + test_begin_subtest "show undecryptable message" test_emacs '(notmuch-show "id:simple-encrypted@crypto.notmuchmail.org") (test-visible-output)'