]> git.cworth.org Git - notmuch/blobdiff - test/test-lib.sh
test: remove directory names from paths in exceptions
[notmuch] / test / test-lib.sh
index e476a69b2a50f9c06f4b673881ee4024d464e6ab..6bc0b7239f60e3880fae70c25f08c738ea7382b8 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 () {