Apparently most of the misspellings are my fault.
}
output="A Xapian exception occurred opening database: Couldn't stat 'fakedb/.notmuch/xapian'
-caught No chert database found at path \`./nonexistant'"
+caught No chert database found at path \`./nonexistent'"
mkdir -p fakedb/.notmuch
cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
{
notmuch_message_t *message = NULL;
- stat = notmuch_database_find_message (db, "id:nonexistant", &message);
+ stat = notmuch_database_find_message (db, "id:nonexistent", &message);
}
EOF
sed 's/^\(A Xapian exception [^:]*\):.*$/\1/' < OUTPUT > OUTPUT.clean
}
try {
- (void) new Xapian::WritableDatabase("./nonexistant", Xapian::DB_OPEN);
+ (void) new Xapian::WritableDatabase("./nonexistent", Xapian::DB_OPEN);
} catch (const Xapian::Error &error) {
printf("caught %s\n", error.get_msg().c_str());
return 0;