unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob b2a5cb21e7bd1f9244f7c14ffbcec0e9c51cf95d 856 bytes (raw)
name: test/emacs-show 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 
#!/usr/bin/env bash

test_description="Testing emacs notmuch-show view"
. test-lib.sh

test_require_external_prereq emacs

test_begin_subtest "Hiding Original Message region at beginning of a message"
message_id='OriginalMessageHiding.1@notmuchmail.org'
add_message \
    [id]="$message_id" \
    '[subject]="Hiding Original Message region at beginning of a message"' \
    '[body]="-----Original Message-----
Text here."'

cat <<EOF >EXPECTED
Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (inbox)
Subject: Hiding Original Message region at beginning of a message
To: Notmuch Test Suite <test_suite@notmuchmail.org>
Date: Fri, 05 Jan 2001 15:43:57 +0000

[ 2-line hidden original message. Click/Enter to show. ]
EOF

test_emacs "(notmuch-show \"id:$message_id\")
	    (test-visible-output)"
test_expect_equal_file OUTPUT EXPECTED

test_done

debug log:

solving b2a5cb2 ...
found b2a5cb2 in https://yhetil.org/notmuch/1337953411-21000-8-git-send-email-pioto@pioto.org/
found 5700d2e in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100755 5700d2e707a50bdd2ff7fd07fd694976fe517681	test/emacs-show

applying [1/1] https://yhetil.org/notmuch/1337953411-21000-8-git-send-email-pioto@pioto.org/
diff --git a/test/emacs-show b/test/emacs-show
index 5700d2e..b2a5cb2 100755

Checking patch test/emacs-show...
Applied patch test/emacs-show cleanly.

index at:
100755 b2a5cb21e7bd1f9244f7c14ffbcec0e9c51cf95d	test/emacs-show

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).