diff options
| author | David Bremner <david@tethera.net> | 2020-07-05 10:00:18 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-07-14 07:12:52 -0300 |
| commit | d284dc00dafb144065bc50242e15e84d4579e3fd (patch) | |
| tree | c00c30c3ac1305fcea0b5614ebb6fb05f4975f72 /test | |
| parent | e404d8a51d81a7dff85e28aeb64acdca5483652f (diff) | |
test: add known broken test for n_m_get_tags
This will be fixed in the next commit.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T560-lib-error.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh index c043e35e..05d41615 100755 --- a/test/T560-lib-error.sh +++ b/test/T560-lib-error.sh @@ -470,5 +470,22 @@ cat <<EOF > EXPECTED EOF test_expect_equal_file EXPECTED OUTPUT +test_begin_subtest "Handle getting tags from closed database" +test_subtest_known_broken +cat c_head2 - c_tail <<'EOF' | test_C ${MAIL_DIR} + { + notmuch_tags_t *result; + result = notmuch_message_get_tags (message); + printf("%d\n%d\n", message != NULL, result == NULL); + } +EOF +cat <<EOF > EXPECTED +== stdout == +1 +1 +== stderr == +EOF +test_expect_equal_file EXPECTED OUTPUT + test_done |
