mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 15:21:41 +01:00
lib: add known broken test for notmuch_message_get_filename
This will be fixed in the next commit
This commit is contained in:
parent
a962bd2bf8
commit
46e8076281
1 changed files with 17 additions and 0 deletions
|
@ -405,4 +405,21 @@ cat <<EOF > EXPECTED
|
||||||
EOF
|
EOF
|
||||||
test_expect_equal_file EXPECTED OUTPUT
|
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
|
test_done
|
||||||
|
|
Loading…
Reference in a new issue