summaryrefslogtreecommitdiffstats
path: root/test/T360-symbol-hiding.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2016-01-29 07:53:13 -0400
committerDavid Bremner <david@tethera.net>2016-03-14 19:54:32 -0300
commit3dcd6e9a23cb071a5c1bb474180c3b57650df56b (patch)
tree533be1c9fe2a767e6d4f1b4862d784e8e77325b4 /test/T360-symbol-hiding.sh
parentbfccfc31c7cf5d6e24a68052c002c55eb94a7ba7 (diff)
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
Diffstat (limited to 'test/T360-symbol-hiding.sh')
-rwxr-xr-xtest/T360-symbol-hiding.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh
index 4ec0ea65..89e7f165 100755
--- a/test/T360-symbol-hiding.sh
+++ b/test/T360-symbol-hiding.sh
@@ -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