projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de97ee
)
test: kill '"filename": "signature.asc"' from json output
author
David Bremner
<david@tethera.net>
Sat, 25 Oct 2014 07:57:12 +0000
(09:57 +0200)
committer
David 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
patch
|
blob
|
history
diff --git
a/test/test-lib.sh
b/test/test-lib.sh
index 17deaaba0d5d880df237694430743c4304e7554d..72559cce303f5f268d7e8eb239ca1df4726aba6d 100644
(file)
--- 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'
}