test: kill '"filename": "signature.asc"' from json output
authorDavid Bremner <david@tethera.net>
Sat, 25 Oct 2014 07:57:12 +0000 (09:57 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 25 Oct 2014 08:39:07 +0000 (10:39 +0200)
This starts to appear with emacs24.4, so we can't easily have it in
our expected output.

test/test-lib.sh

index 17deaaba0d5d880df237694430743c4304e7554d..72559cce303f5f268d7e8eb239ca1df4726aba6d 100644 (file)
@@ -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'
 }