diff options
| author | David Bremner <david@tethera.net> | 2022-05-25 07:51:13 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-06-25 16:05:32 -0300 |
| commit | 00ec2b271d457bf7b81efed8ff91e52290a38f4a (patch) | |
| tree | e237ae3f2994fced4dfe5bbd7b8edce40c0885cc /test/T560-lib-error.sh | |
| parent | 8ade833ec2714c6f4fb2fcba0bc28b9c421907d5 (diff) | |
test: add known broken test for notmuch_tags_valid (NULL)
This should return false, but currently segfaults.
Start a new file for tags library API related tests. This is maybe
overkill, but new C boilerplate which doesn't corrupt the database is
needed anyway.
Diffstat (limited to 'test/T560-lib-error.sh')
| -rwxr-xr-x | test/T560-lib-error.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh index 80527afd..a2901ff6 100755 --- a/test/T560-lib-error.sh +++ b/test/T560-lib-error.sh @@ -275,24 +275,6 @@ test_expect_equal_file EXPECTED OUTPUT.clean restore_database backup_database -test_begin_subtest "Xapian exception getting tags" -cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR} ${POSTLIST_PATH} - { - notmuch_tags_t *tags = NULL; - tags = notmuch_database_get_all_tags (db); - stat = (tags == NULL); - } -EOF -sed 's/^\(A Xapian exception [^:]*\):.*$/\1/' < OUTPUT > OUTPUT.clean -cat <<'EOF' >EXPECTED -== stdout == -== stderr == -A Xapian exception occurred getting tags -EOF -test_expect_equal_file EXPECTED OUTPUT.clean -restore_database - -backup_database test_begin_subtest "Xapian exception creating directory" cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR} ${POSTLIST_PATH} { |
