X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib.sh;h=8697d6a75d3ffdaaf10685ca3a8b67c7fc6f3aa8;hp=9824bb67a038c9cee08f4bc5ad481c93c77bd806;hb=fe8cd90f97a078336612cd441a783096d6350564;hpb=8c37821a0d09db8a231e0ef31d5862cbf902f77b diff --git a/test/test-lib.sh b/test/test-lib.sh index 9824bb67..8697d6a7 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -667,6 +667,11 @@ notmuch_search_sanitize () perl -pe 's/("?thread"?: ?)("?)................("?)/\1\2XXX\3/' } +notmuch_search_files_sanitize() +{ + sed -e "s,$MAIL_DIR,MAIL_DIR," +} + NOTMUCH_SHOW_FILENAME_SQUELCH='s,filename:.*/mail,filename:/XXX/mail,' notmuch_show_sanitize () {