X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Femacs;h=3b26d32f60462e6a43af31dc4fd263e87837c990;hb=1546387d723ec47cd281f3c2bf6da2fddf18c045;hp=f033bdf5d2d9fd2822946058bd38355421eab734;hpb=401dbebd4803477563eff03d719605ed37a8e44d;p=notmuch diff --git a/test/emacs b/test/emacs index f033bdf5..3b26d32f 100755 --- a/test/emacs +++ b/test/emacs @@ -525,7 +525,9 @@ test_expect_equal_file attachment1.gz "$EXPECTED/attachment" test_begin_subtest "Save attachment from within emacs using notmuch-show-save-part" # save as archive to test that Emacs does not re-compress .gz test_emacs '(let ((standard-input "\"attachment2.gz\"")) - (notmuch-show-save-part "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com" 5))' + (notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com") + (search-forward "0001-Deal-with") + (notmuch-show-save-part))' test_expect_equal_file attachment2.gz "$EXPECTED/attachment" test_begin_subtest "Save 8bit attachment from within emacs using notmuch-show-save-attachments"