X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib.sh;h=078f0602ad72792fb5fe3d6f7cdc378bb25e83c4;hp=dc2972f256a00456b0649911b56719586f553ddd;hb=18967ef7506566c3b7b5332893a3876da051ca5d;hpb=b596fbbcd30c82a6487231f01ba1e4d68bd98275 diff --git a/test/test-lib.sh b/test/test-lib.sh index dc2972f2..078f0602 100755 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -502,6 +502,12 @@ notmuch_show_sanitize () { sed -e "$NOTMUCH_SHOW_FILENAME_SQUELCH" } +notmuch_show_sanitize_all () +{ + sed \ + -e 's| filename:.*| filename:XXXXX|' \ + -e 's| id:[^ ]* | id:XXXXX |' +} # End of notmuch helper functions