]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
test: normalize only message filenames in show json
[notmuch] / test / test-lib.sh
index fd64736bec562ede98be40ecda5ed3eab5e021f0..6ce3b3189f25c354b471c42db1730ab8fe172e89 100644 (file)
@@ -600,7 +600,7 @@ notmuch_json_show_sanitize ()
 {
     sed \
        -e 's|"id": "[^"]*",|"id": "XXXXX",|g' \
-       -e 's|"filename": "[^"]*",|"filename": "YYYYY",|g'
+       -e 's|"filename": "/[^"]*",|"filename": "YYYYY",|g'
 }
 
 # End of notmuch helper functions