notmuch/test/emacs.expected-output
Michael J Gruber aec72e5806 test: make T450 independent of application/octet-stream interpretation
The actual content type of `application/octet-stream` is up to content
type detection of the reader, and thus may not be stable across
implementations or versions. This showed up when

fd46fc19 ("emacs:  document/defcustom notmuch-multipart/alternative-discouraged", 2022-05-14)

introduced a test for omitting a part of type `text/html` because it
expected a part of type `application/octet-stream` to remain in place,
i.e. a part of "unstable type". In particular, tests with `fd46fc19`
would succeed on RHEL/EPEL but fail on all current Fedoras with

```
 FAIL   multipart/alternative hides html by default
	--- T450-emacs-show.16.notmuch-show-multipart-alternative	2022-05-26 15:34:42.100557244 +0000
	+++ T450-emacs-show.16.OUTPUT	2022-05-26 15:34:42.102557207 +0000
	@@ -24,7 +24,7 @@
	 uses 64 as the
	 buffer size.
	 [ text/html (hidden) ]
	-[ 0001-Deal-with-situation-where-sysconf-_SC_GETPW_R_SIZE_M.patch: application/octet-stream (as text/x-diff) ]
	+[ 0001-Deal-with-situation-where-sysconf-_SC_GETPW_R_SIZE_M.patch: application/octet-stream (as text/x-patch) ]
	 From e3bc4bbd7b9d0d086816ab5f8f2d6ffea1dd3ea4 Mon Sep 17 00:00:00 2001
	 From: Alexander Botero-Lowry <alex.boterolowry@gmail.com>
	 Date: Tue, 17 Nov 2009 11:30:39 -0800
```

due to the different type detected.

Fix this by giving that message a specicific type of `text/x-diff` in
the test corpus, and adjust all affected test outputs.

Signed-off-by: Michael J Gruber <git@grubix.eu>
Amended-by: db, fix some trailing whitespace
2022-05-29 07:23:32 -03:00
..
attachment test: Add test for saving an attachment from emacs 2010-11-06 11:25:56 -07:00
notmuch-hello emacs: hello: promote '?' as the universal help key 2016-03-14 19:54:32 -03:00
notmuch-hello-all-tags Revert "emacs: use --exclude=false when checking for empty searches" 2022-01-23 14:21:46 -04:00
notmuch-hello-empty-custom-queries-section test: add Emacs notmuch-hello tests for custom tags and queries section. 2012-05-06 19:44:42 -03:00
notmuch-hello-empty-custom-tags-section test: add Emacs notmuch-hello tests for custom tags and queries section. 2012-05-06 19:44:42 -03:00
notmuch-hello-long-names emacs: hello: promote '?' as the universal help key 2016-03-14 19:54:32 -03:00
notmuch-hello-new-section emacs: get rid of trailing spaces in notmuch-hello view 2012-04-12 08:40:33 -03:00
notmuch-hello-no-saved-searches emacs: hello: promote '?' as the universal help key 2016-03-14 19:54:32 -03:00
notmuch-hello-section-counts emacs: get rid of trailing spaces in notmuch-hello view 2012-04-12 08:40:33 -03:00
notmuch-hello-section-hidden-tag emacs: get rid of trailing spaces in notmuch-hello view 2012-04-12 08:40:33 -03:00
notmuch-hello-section-with-empty emacs: get rid of trailing spaces in notmuch-hello view 2012-04-12 08:40:33 -03:00
notmuch-hello-view-inbox test: add two new messages to corpus with iso-8859-1 encoding 2011-12-31 23:04:01 -04:00
notmuch-hello-with-empty emacs: hello: promote '?' as the universal help key 2016-03-14 19:54:32 -03:00
notmuch-search-tag-inbox test: add two new messages to corpus with iso-8859-1 encoding 2011-12-31 23:04:01 -04:00
notmuch-show-message-with-headers-hidden test: emacs: new tests "notmuch-show: {show, hide} message headers" 2012-10-20 12:10:12 -03:00
notmuch-show-message-with-headers-visible test: emacs: new tests "notmuch-show: {show, hide} message headers" 2012-10-20 12:10:12 -03:00
notmuch-show-thread-maildir-storage emacs: change default for notmuch-crypto-process-mime to t 2017-07-15 09:11:32 -03:00
notmuch-show-thread-maildir-storage-with-fourfold-indentation emacs: change default for notmuch-crypto-process-mime to t 2017-07-15 09:11:32 -03:00
notmuch-show-thread-maildir-storage-without-indentation emacs: change default for notmuch-crypto-process-mime to t 2017-07-15 09:11:32 -03:00
notmuch-show-thread-with-all-messages-collapsed test: emacs: new tests "notmuch-show: {, un}collapse all messages in thread" 2012-10-20 12:10:24 -03:00
notmuch-show-thread-with-all-messages-uncollapsed test: emacs: new tests "notmuch-show: {, un}collapse all messages in thread" 2012-10-20 12:10:24 -03:00
notmuch-show-thread-with-hidden-messages emacs: Fix to unconditionally display subject changes in collapsed thread view 2011-07-01 02:00:25 -07:00
raw-message-cf0c4d-52ad0a test: make T450 independent of application/octet-stream interpretation 2022-05-29 07:23:32 -03:00
search-result-format-function test/emacs: test for functions in notmuch-search-result-format. 2021-09-08 23:01:02 -03:00