mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-10 02:31:48 +01:00
test: canonicalize quotes in xapian error messages
These differ between 1.2 and 1.3, so we transform the 1.2 backquote to a single quote for compatibility
This commit is contained in:
parent
bfccfc31c7
commit
3dcd6e9a23
1 changed files with 2 additions and 2 deletions
|
@ -15,11 +15,11 @@ test_begin_subtest 'running test' run_test
|
|||
mkdir -p ${PWD}/fakedb/.notmuch
|
||||
( LD_LIBRARY_PATH="$TEST_DIRECTORY/../lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" \
|
||||
$TEST_DIRECTORY/symbol-test ${PWD}/fakedb ${PWD}/nonexistent \
|
||||
2>&1 | sed "s,${PWD},CWD,g") > OUTPUT
|
||||
2>&1 | notmuch_dir_sanitize | sed "s,\`,\',g") > OUTPUT
|
||||
|
||||
cat <<EOF > EXPECTED
|
||||
A Xapian exception occurred opening database: Couldn't stat 'CWD/fakedb/.notmuch/xapian'
|
||||
caught No chert database found at path \`CWD/nonexistent'
|
||||
caught No chert database found at path 'CWD/nonexistent'
|
||||
EOF
|
||||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
|
|
Loading…
Reference in a new issue