Re: [PATCH] Omit User-Agent: header by default
[notmuch-archives.git] / be / fc1d522d01b4cb6f9221ca19583214abaaf236
1 Return-Path: <schnouki@schnouki.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 41A88421164\r
6         for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 06:34:56 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id BgyxmErC2h6j for <notmuch@notmuchmail.org>;\r
17         Wed, 16 Nov 2011 06:34:52 -0800 (PST)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id 26806429E5E\r
20         for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 06:34:26 -0800 (PST)\r
21 Received: from thor.loria.fr (thor.loria.fr [152.81.12.250])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id 14B1C6A002D;\r
23         Wed, 16 Nov 2011 15:34:25 +0100 (CET)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1321454065;\r
26         bh=KasQMam23oKILcajY7DEfDfPnUW5YAsp3830ITE75dE=;\r
27         h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References;\r
28         b=P6jRi84WDO7gqgF1OUuRKWYo69LKheyleLvstchO5hBDAvU1DkE7wvqtJ5fiyxaPR\r
29         R1Rpj15uxxyfKtFTnvwkbA9+gUhR0JWYGOx6hYP28RK+aoH5Qv8TpZyG+nj9gILxAG\r
30         NjxGy3yyjkcugA5NduFrRNb2cpTdTXYlU4FGgJcU=\r
31 From: Thomas Jost <schnouki@schnouki.net>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH 5/6] test: add 'Emacs' prereq to dependent 'emacs' tests\r
34 Date: Wed, 16 Nov 2011 15:33:54 +0100\r
35 Message-Id: <1321454035-22023-6-git-send-email-schnouki@schnouki.net>\r
36 X-Mailer: git-send-email 1.7.7.3\r
37 In-Reply-To: <1321454035-22023-1-git-send-email-schnouki@schnouki.net>\r
38 References: <1320176954-4897-1-git-send-email-pieter@praet.org>\r
39         <1321454035-22023-1-git-send-email-schnouki@schnouki.net>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Wed, 16 Nov 2011 14:34:56 -0000\r
53 \r
54 From: Pieter Praet <pieter@praet.org>\r
55 \r
56 Adds a new test that checks for the presence of 'emacs',\r
57 and adds that test as a prereq to all subsequent tests\r
58 that rely on Emacs.\r
59 \r
60 This causes tests with unmet dependencies to be skipped.\r
61 \r
62 Signed-off-by: Pieter Praet <pieter@praet.org>\r
63 \r
64 Conflicts:\r
65 \r
66         test/emacs\r
67 ---\r
68  test/emacs |   82 ++++++++++++++++++++++++++++++++---------------------------\r
69  1 files changed, 44 insertions(+), 38 deletions(-)\r
70 \r
71 diff --git a/test/emacs b/test/emacs\r
72 index 75a0a74..ea641af 100755\r
73 --- a/test/emacs\r
74 +++ b/test/emacs\r
75 @@ -3,6 +3,11 @@\r
76  test_description="emacs interface"\r
77  . test-lib.sh\r
78  \r
79 +# Emacs is a prereq.\r
80 +test_set_bin_prereq dtach "dtach" DTACH\r
81 +test_have_prereq DTACH && test_set_bin_prereq emacs "Emacs" EMACS\r
82 +\r
83 +\r
84  EXPECTED=$TEST_DIRECTORY/emacs.expected-output\r
85  \r
86  add_email_corpus\r
87 @@ -10,7 +15,7 @@ add_email_corpus\r
88  test_begin_subtest "Basic notmuch-hello view in emacs"\r
89  test_emacs '(notmuch-hello)\r
90             (test-output)'\r
91 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-hello\r
92 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-hello\r
93  \r
94  test_begin_subtest "Saved search with 0 results"\r
95  test_emacs '(let ((notmuch-show-empty-saved-searches t)\r
96 @@ -20,20 +25,20 @@ test_emacs '(let ((notmuch-show-empty-saved-searches t)\r
97                         ("empty" . "tag:doesnotexist"))))\r
98               (notmuch-hello)\r
99               (test-output))'\r
100 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-hello-with-empty\r
101 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-hello-with-empty\r
102  \r
103  test_begin_subtest "No saved searches displayed (all with 0 results)"\r
104  test_emacs '(let ((notmuch-saved-searches\r
105                    '\''(("empty" . "tag:doesnotexist"))))\r
106               (notmuch-hello)\r
107               (test-output))'\r
108 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-hello-no-saved-searches\r
109 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-hello-no-saved-searches\r
110  \r
111  test_begin_subtest "Basic notmuch-search view in emacs"\r
112  test_emacs '(notmuch-search "tag:inbox")\r
113             (notmuch-test-wait)\r
114             (test-output)'\r
115 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-search-tag-inbox\r
116 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-search-tag-inbox\r
117  \r
118  test_begin_subtest "Navigation of notmuch-hello to search results"\r
119  test_emacs '(notmuch-hello)\r
120 @@ -42,13 +47,13 @@ test_emacs '(notmuch-hello)\r
121             (widget-button-press (point))\r
122             (notmuch-test-wait)\r
123             (test-output)'\r
124 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-hello-view-inbox\r
125 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-hello-view-inbox\r
126  \r
127  test_begin_subtest "Basic notmuch-show view in emacs"\r
128  maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)\r
129  test_emacs "(notmuch-show \"$maildir_storage_thread\")\r
130             (test-output)"\r
131 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage\r
132 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage\r
133  \r
134  test_begin_subtest "notmuch-show for message with invalid From"\r
135  add_message "[subject]=\"message-with-invalid-from\"" \\r
136 @@ -64,7 +69,7 @@ Date: Tue, 05 Jan 2001 15:43:57 -0000\r
137  \r
138  This is just a test message (#1)\r
139  EOF\r
140 -test_expect_equal_file OUTPUT EXPECTED\r
141 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
142  \r
143  test_begin_subtest "Navigation of notmuch-search to thread view"\r
144  test_emacs '(notmuch-search "tag:inbox")\r
145 @@ -74,7 +79,7 @@ test_emacs '(notmuch-search "tag:inbox")\r
146             (notmuch-search-show-thread)\r
147             (notmuch-test-wait)\r
148             (test-output)'\r
149 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage\r
150 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage\r
151  \r
152  test_begin_subtest "Add tag from search view"\r
153  os_x_darwin_thread=$(notmuch search --output=threads id:ddd65cda0911171950o4eea4389v86de9525e46052d3@mail.gmail.com)\r
154 @@ -82,26 +87,26 @@ test_emacs "(notmuch-search \"$os_x_darwin_thread\")\r
155             (notmuch-test-wait)\r
156             (notmuch-search-add-tag \"tag-from-search-view\")"\r
157  output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)\r
158 -test_expect_equal "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox tag-from-search-view unread)"\r
159 +test_expect_equal EMACS "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox tag-from-search-view unread)"\r
160  \r
161  test_begin_subtest "Remove tag from search view"\r
162  test_emacs "(notmuch-search \"$os_x_darwin_thread\")\r
163             (notmuch-test-wait)\r
164             (notmuch-search-remove-tag \"tag-from-search-view\")"\r
165  output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)\r
166 -test_expect_equal "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)"\r
167 +test_expect_equal EMACS "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)"\r
168  \r
169  test_begin_subtest "Add tag from notmuch-show view"\r
170  test_emacs "(notmuch-show \"$os_x_darwin_thread\")\r
171             (notmuch-show-add-tag \"tag-from-show-view\")"\r
172  output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)\r
173 -test_expect_equal "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox tag-from-show-view unread)"\r
174 +test_expect_equal EMACS "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox tag-from-show-view unread)"\r
175  \r
176  test_begin_subtest "Remove tag from notmuch-show view"\r
177  test_emacs "(notmuch-show \"$os_x_darwin_thread\")\r
178             (notmuch-show-remove-tag \"tag-from-show-view\")"\r
179  output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)\r
180 -test_expect_equal "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)"\r
181 +test_expect_equal EMACS "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)"\r
182  \r
183  test_begin_subtest "Message with .. in Message-Id:"\r
184  add_message [id]=123..456@example '[subject]="Message with .. in Message-Id"'\r
185 @@ -116,10 +121,10 @@ test_emacs '(notmuch-search "id:\"123..456@example\"")\r
186             (notmuch-show-add-tag "show-remove")\r
187             (notmuch-show-remove-tag "show-remove")'\r
188  output=$(notmuch search 'id:"123..456@example"' | notmuch_search_sanitize)\r
189 -test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; Message with .. in Message-Id (inbox search-add show-add)"\r
190 +test_expect_equal EMACS "$output" "thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; Message with .. in Message-Id (inbox search-add show-add)"\r
191  \r
192  test_begin_subtest "Sending a message via (fake) SMTP"\r
193 -emacs_deliver_message \\r
194 +test_have_prereq EMACS && emacs_deliver_message \\r
195      'Testing message sent via SMTP' \\r
196      'This is a test that messages are sent via SMTP' \\r
197      '(message-goto-to)\r
198 @@ -140,12 +145,12 @@ Content-Type: text/plain; charset=us-ascii\r
199  \r
200  This is a test that messages are sent via SMTP\r
201  EOF\r
202 -test_expect_equal_file OUTPUT EXPECTED\r
203 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
204  \r
205  test_begin_subtest "Verify that sent messages are saved/searchable (via FCC)"\r
206  notmuch new > /dev/null\r
207  output=$(notmuch search 'subject:"testing message sent via SMTP"' | notmuch_search_sanitize)\r
208 -test_expect_equal "$output" "thread:XXX   2000-01-01 [1/1] Notmuch Test Suite; Testing message sent via SMTP (inbox)"\r
209 +test_expect_equal EMACS "$output" "thread:XXX   2000-01-01 [1/1] Notmuch Test Suite; Testing message sent via SMTP (inbox)"\r
210  \r
211  test_begin_subtest "notmuch-fcc-dirs set to nil"\r
212  test_emacs "(let ((notmuch-fcc-dirs nil))\r
213 @@ -157,7 +162,7 @@ To:\r
214  Subject: \r
215  --text follows this line--\r
216  EOF\r
217 -test_expect_equal_file OUTPUT EXPECTED\r
218 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
219  \r
220  # Make another FCC maildir specific for the next test\r
221  mkdir -p mail/sent-string/cur\r
222 @@ -175,7 +180,7 @@ Subject:\r
223  Fcc: ${MAIL_DIR}/sent-string\r
224  --text follows this line--\r
225  EOF\r
226 -test_expect_equal_file OUTPUT EXPECTED\r
227 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
228  \r
229  # Make more FCC maildirs specific for the next test\r
230  mkdir -p mail/sent-list-match/cur\r
231 @@ -198,7 +203,7 @@ Subject:\r
232  Fcc: ${MAIL_DIR}/sent-list-match\r
233  --text follows this line--\r
234  EOF\r
235 -test_expect_equal_file OUTPUT EXPECTED\r
236 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
237  \r
238  # Make another FCC maildir specific for the next test\r
239  mkdir -p mail/sent-list-catch-all/cur\r
240 @@ -218,7 +223,7 @@ Subject:\r
241  Fcc: ${MAIL_DIR}/sent-list-catch-all\r
242  --text follows this line--\r
243  EOF\r
244 -test_expect_equal_file OUTPUT EXPECTED\r
245 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
246  \r
247  test_begin_subtest "notmuch-fcc-dirs set to a list (no match)"\r
248  test_emacs "(let ((notmuch-fcc-dirs\r
249 @@ -232,14 +237,14 @@ To:\r
250  Subject: \r
251  --text follows this line--\r
252  EOF\r
253 -test_expect_equal_file OUTPUT EXPECTED\r
254 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
255  \r
256  test_begin_subtest "Reply within emacs"\r
257  test_emacs '(notmuch-search "subject:\"testing message sent via SMTP\"")\r
258             (notmuch-test-wait)\r
259             (notmuch-search-reply-to-thread)\r
260             (test-output)'\r
261 -sed -i -e 's/^In-Reply-To: <.*>$/In-Reply-To: <XXX>/' OUTPUT\r
262 +sed -i -e 's/^In-Reply-To: <.*>$/In-Reply-To: <XXX>/' EMACS OUTPUT\r
263  cat <<EOF >EXPECTED\r
264  From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
265  To: user@example.com\r
266 @@ -250,26 +255,26 @@ Fcc: $(pwd)/mail/sent\r
267  On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> wrote:\r
268  > This is a test that messages are sent via SMTP\r
269  EOF\r
270 -test_expect_equal_file OUTPUT EXPECTED\r
271 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
272  \r
273  test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments"\r
274  # save as archive to test that Emacs does not re-compress .gz\r
275  test_emacs '(let ((standard-input "\"attachment1.gz\""))\r
276               (notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com")\r
277               (notmuch-show-save-attachments))'\r
278 -test_expect_equal_file attachment1.gz "$EXPECTED/attachment"\r
279 +test_expect_equal_file EMACS attachment1.gz "$EXPECTED/attachment"\r
280  \r
281  test_begin_subtest "Save attachment from within emacs using notmuch-show-save-part"\r
282  # save as archive to test that Emacs does not re-compress .gz\r
283  test_emacs '(let ((standard-input "\"attachment2.gz\""))\r
284               (notmuch-show-save-part "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com" 5))'\r
285 -test_expect_equal_file attachment2.gz "$EXPECTED/attachment"\r
286 +test_expect_equal_file EMACS attachment2.gz "$EXPECTED/attachment"\r
287  \r
288  test_begin_subtest "View raw message within emacs"\r
289  test_emacs '(notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com")\r
290             (notmuch-show-view-raw-message)\r
291             (test-output)'\r
292 -test_expect_equal_file OUTPUT $EXPECTED/raw-message-cf0c4d-52ad0a\r
293 +test_expect_equal_file EMACS OUTPUT $EXPECTED/raw-message-cf0c4d-52ad0a\r
294  \r
295  test_begin_subtest "Hiding/showing signature in notmuch-show view"\r
296  maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)\r
297 @@ -279,7 +284,7 @@ test_emacs "(notmuch-show \"$maildir_storage_thread\")\r
298             (search-backward \"Click/Enter to hide.\")\r
299             (button-activate (button-at (point)))\r
300             (test-output)"\r
301 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage\r
302 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage\r
303  \r
304  test_begin_subtest "Detection and hiding of top-post quoting of message"\r
305  add_message '[subject]="The problem with top-posting"' \\r
306 @@ -326,13 +331,13 @@ Thanks for the advice! I will be sure to put it to good use.\r
307  -Top Poster\r
308  \r
309  [ 9-line hidden original message. Click/Enter to show. ]" > EXPECTED\r
310 -test_expect_equal_file OUTPUT EXPECTED\r
311 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
312  \r
313  test_begin_subtest "Hiding message in notmuch-show view"\r
314  test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.gmail.com")\r
315             (notmuch-show-toggle-message)\r
316             (test-visible-output)'\r
317 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-with-hidden-messages\r
318 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-show-thread-with-hidden-messages\r
319  \r
320  test_begin_subtest "Hiding message with visible citation in notmuch-show view"\r
321  test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.gmail.com")\r
322 @@ -340,7 +345,7 @@ test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.\r
323             (button-activate (button-at (point)))\r
324             (notmuch-show-toggle-message)\r
325             (test-visible-output)'\r
326 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-with-hidden-messages\r
327 +test_expect_equal_file EMACS OUTPUT $EXPECTED/notmuch-show-thread-with-hidden-messages\r
328  \r
329  test_begin_subtest "Stashing in notmuch-show"\r
330  add_message '[date]="Sat, 01 Jan 2000 12:00:00 -0000"' \\r
331 @@ -370,7 +375,7 @@ test_emacs '(notmuch-show "id:\"bought\"")\r
332          (reverse-region (point-min) (point-max))\r
333             (test-output)'\r
334  sed -i -e 's/^.*tmp.emacs\/mail.*$/FILENAME/' OUTPUT\r
335 -test_expect_equal_file OUTPUT $EXPECTED/emacs-stashing\r
336 +test_expect_equal_file EMACS OUTPUT $EXPECTED/emacs-stashing\r
337  \r
338  test_begin_subtest "Stashing in notmuch-search"\r
339  test_emacs '(notmuch-search "id:\"bought\"")\r
340 @@ -381,12 +386,13 @@ test_emacs '(notmuch-search "id:\"bought\"")\r
341          (yank)\r
342             (test-output)'\r
343  sed -i -e 's/^thread:.*$/thread:XXX/' OUTPUT\r
344 -test_expect_equal $(cat OUTPUT) "thread:XXX"\r
345 +output=$(cat OUTPUT)\r
346 +test_expect_equal EMACS "$output" "thread:XXX"\r
347  \r
348  test_begin_subtest 'Hiding message following HTML part'\r
349  test_subtest_known_broken\r
350  id='html-message@notmuchmail.org'\r
351 -emacs_deliver_message \\r
352 +test_have_prereq EMACS && emacs_deliver_message \\r
353      'HTML message' \\r
354      '' \\r
355      "(message-goto-eoh)\r
356 @@ -394,7 +400,7 @@ emacs_deliver_message \\r
357       (message-goto-body)\r
358       (mml-insert-part \"text/html\")\r
359       (insert \"<body>This is a test HTML message</body>\")"\r
360 -emacs_deliver_message \\r
361 +test_have_prereq EMACS && emacs_deliver_message \\r
362      'Reply to HTML message' \\r
363      'This is a reply to the test HTML message' \\r
364      "(message-goto-eoh)\r
365 @@ -407,7 +413,7 @@ test_emacs "(notmuch-show \"id:$id\") \\r
366              (notmuch-show-next-message) \\r
367              (notmuch-show-toggle-message) \\r
368              (test-visible-output \"EXPECTED\")"\r
369 -test_expect_equal_file OUTPUT EXPECTED\r
370 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
371  \r
372  test_begin_subtest 'notmuch-show-advance-and-archive with invisible signature'\r
373  message1='id:20091118010116.GC25380@dottiness.seas.harvard.edu'\r
374 @@ -421,14 +427,14 @@ test_emacs "(notmuch-search \"$message1 or $message2\")\r
375             (test-output)"\r
376  test_emacs "(notmuch-show \"$message2\")\r
377             (test-output \"EXPECTED\")"\r
378 -test_expect_equal_file OUTPUT EXPECTED\r
379 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
380  \r
381  test_begin_subtest "Refresh show buffer"\r
382  test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.gmail.com")\r
383             (test-visible-output "EXPECTED")\r
384             (notmuch-show-refresh-view)\r
385             (test-visible-output)'\r
386 -test_expect_equal_file OUTPUT EXPECTED\r
387 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
388  \r
389  test_begin_subtest "Refresh modified show buffer"\r
390  test_subtest_known_broken\r
391 @@ -439,6 +445,6 @@ test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.\r
392             (test-visible-output "EXPECTED")\r
393             (notmuch-show-refresh-view)\r
394             (test-visible-output)'\r
395 -test_expect_equal_file OUTPUT EXPECTED\r
396 +test_expect_equal_file EMACS OUTPUT EXPECTED\r
397  \r
398  test_done\r
399 -- \r
400 1.7.7.3\r
401 \r