[PATCH] test: kill '"filename": "signature.asc"' from json output

Subject: [PATCH] test: kill '"filename": "signature.asc"' from json output

Date: Sat, 25 Oct 2014 10:05:34 +0200

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


This starts to appear with emacs24.4, so we can't easily have it in
our expected output.
---
 test/test-lib.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test-lib.sh b/test/test-lib.sh
index 17deaab..72559cc 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -690,6 +690,7 @@ notmuch_json_show_sanitize ()
     sed \
 	-e 's|"id": "[^"]*",|"id": "XXXXX",|g' \
 	-e 's|"Date": "Fri, 05 Jan 2001 [^"]*0000"|"Date": "GENERATED_DATE"|g' \
+	-e 's|"filename": "signature.asc",||g' \
 	-e 's|"filename": "/[^"]*",|"filename": "YYYYY",|g' \
 	-e 's|"timestamp": 97.......|"timestamp": 42|g'
 }
-- 
2.1.1


Thread: