]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
Merge remote-tracking branch 'origin/release'
[notmuch] / test / test-lib.sh
index 2ba224c372f6125cd2b0fe661259a63e8b3f403c..f1275b85eca9ec428d5748577f2a5255445d952b 100644 (file)
@@ -529,7 +529,7 @@ notmuch_debug_sanitize () {
 }
 
 notmuch_exception_sanitize () {
-    perl -pe 's/(A Xapian exception occurred at .*[.]cc?):([0-9]*)/\1:XXX/'
+    perl -pe 's,(A Xapian exception occurred at) .*?([^/]*[.]cc?):([0-9]*),\1 \2:XXX,'
 }
 
 notmuch_search_sanitize () {