]> git.cworth.org Git - notmuch/blobdiff - test/T560-lib-error.sh
test: move notmuch_message_* tests to their own file
[notmuch] / test / T560-lib-error.sh
index a50eca807700f7a3d87d58c5374c40b404fd3857..70df292a8c0c16bce12305e8206ff6847af81a70 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 test_description="error reporting for library"
 
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 add_email_corpus
 
@@ -275,7 +275,7 @@ sed 's/^\(A Xapian exception [^:]*\):.*$/\1/' < OUTPUT > OUTPUT.clean
 cat <<'EOF' >EXPECTED
 == stdout ==
 == stderr ==
-A Xapian exception occurred creating a directory
+A Xapian exception occurred finding/creating a directory
 EOF
 test_expect_equal_file EXPECTED OUTPUT.clean
 restore_database