This allows finer control over when to close the database.
#include <stdio.h>
#include <notmuch.h>
#include <notmuch-test.h>
#include <stdio.h>
#include <notmuch.h>
#include <notmuch-test.h>
exit (1);
}
EXPECT0(notmuch_database_find_message (db, id, &message));
exit (1);
}
EXPECT0(notmuch_database_find_message (db, id, &message));
- EXPECT0(notmuch_database_close (db));
+cp c_head0 c_head
+echo " EXPECT0(notmuch_database_close (db));" >> c_head
+
test_begin_subtest "Handle getting message-id from closed database"
cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
{
test_begin_subtest "Handle getting message-id from closed database"
cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
{