X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib.sh;h=f55d2c67aac15a9a0d2b0238c6655d33aa37ed50;hp=a12c6d0a85b75c126f17eb6778fe1f092c7300b2;hb=d35c2c15f61cb527eea6e6224d8b0ad965100766;hpb=518843747835903b77889da30ce8c4518a5c0574 diff --git a/test/test-lib.sh b/test/test-lib.sh index a12c6d0a..f55d2c67 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -736,7 +736,8 @@ notmuch_json_show_sanitize () -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' + -e 's|"timestamp": 97.......|"timestamp": 42|g' \ + -e 's|"content-length": [1-9][0-9]*|"content-length": "NONZERO"|g' } notmuch_emacs_error_sanitize ()