The old notmuch_show_sanitize function only scrubed part of the filename. This one scrubs the full filename, as well as the message id. --- test/test-lib.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 9e2e0b5..ae25635 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 -- 1.7.4.4