mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: remove directory names from paths in exceptions
These cause failures when building out of tree.
This commit is contained in:
parent
031f4b4da5
commit
cea1604a08
3 changed files with 5 additions and 5 deletions
|
@ -80,7 +80,7 @@ cat <<EOF > EXPECTED
|
||||||
== stdout ==
|
== stdout ==
|
||||||
0
|
0
|
||||||
== stderr ==
|
== stderr ==
|
||||||
A Xapian exception occurred at lib/database.cc:XXX: Database has been closed
|
A Xapian exception occurred at database.cc:XXX: Database has been closed
|
||||||
EOF
|
EOF
|
||||||
test_expect_equal_file EXPECTED OUTPUT
|
test_expect_equal_file EXPECTED OUTPUT
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ cat <<EOF > EXPECTED
|
||||||
== stdout ==
|
== stdout ==
|
||||||
1
|
1
|
||||||
== stderr ==
|
== stderr ==
|
||||||
A Xapian exception occurred at lib/database.cc:XXX: Database has been closed
|
A Xapian exception occurred at database.cc:XXX: Database has been closed
|
||||||
EOF
|
EOF
|
||||||
test_expect_equal_file EXPECTED OUTPUT
|
test_expect_equal_file EXPECTED OUTPUT
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ cat <<EOF > EXPECTED
|
||||||
== stdout ==
|
== stdout ==
|
||||||
1
|
1
|
||||||
== stderr ==
|
== stderr ==
|
||||||
A Xapian exception occurred at lib/directory.cc:XXX: Database has been closed
|
A Xapian exception occurred at directory.cc:XXX: Database has been closed
|
||||||
EOF
|
EOF
|
||||||
test_expect_equal_file EXPECTED OUTPUT
|
test_expect_equal_file EXPECTED OUTPUT
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ cat <<EOF > EXPECTED
|
||||||
== stdout ==
|
== stdout ==
|
||||||
1
|
1
|
||||||
== stderr ==
|
== stderr ==
|
||||||
A Xapian exception occurred at lib/directory.cc:XXX: Database has been closed
|
A Xapian exception occurred at directory.cc:XXX: Database has been closed
|
||||||
EOF
|
EOF
|
||||||
test_expect_equal_file EXPECTED OUTPUT
|
test_expect_equal_file EXPECTED OUTPUT
|
||||||
|
|
||||||
|
|
|
@ -529,7 +529,7 @@ notmuch_debug_sanitize () {
|
||||||
}
|
}
|
||||||
|
|
||||||
notmuch_exception_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 () {
|
notmuch_search_sanitize () {
|
||||||
|
|
Loading…
Reference in a new issue