diff options
| author | David Bremner <david@tethera.net> | 2020-07-04 09:16:30 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-07-13 07:19:22 -0300 |
| commit | 46e8076281073c8df5ae8e7e5b386981e2ef4c62 (patch) | |
| tree | a99aaeccf7341cbcc6ecdeefa66dc2f4f59bc712 /test | |
| parent | a962bd2bf801b80e2bdfaa8b05797bf01bc3fc1f (diff) | |
lib: add known broken test for notmuch_message_get_filename
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 d7caed5a..7555197f 100755 --- a/test/T560-lib-error.sh +++ b/test/T560-lib-error.sh @@ -405,4 +405,21 @@ cat <<EOF > EXPECTED EOF test_expect_equal_file EXPECTED OUTPUT +test_begin_subtest "Handle getting message filename from closed database" +test_subtest_known_broken +cat c_head2 - c_tail <<'EOF' | test_C ${MAIL_DIR} + { + const char *filename; + filename = notmuch_message_get_filename (message); + printf("%d\n%d\n", message != NULL, filename == NULL); + } +EOF +cat <<EOF > EXPECTED +== stdout == +1 +1 +== stderr == +EOF +test_expect_equal_file EXPECTED OUTPUT + test_done |
