mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: add known broken test for n_m_get_filenames
This will be fixed in the next commit
This commit is contained in:
parent
a606cba32b
commit
2c2ba7d6e2
1 changed files with 17 additions and 0 deletions
|
@ -421,4 +421,21 @@ cat <<EOF > EXPECTED
|
|||
EOF
|
||||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest "Handle getting all message filenames from closed database"
|
||||
test_subtest_known_broken
|
||||
cat c_head2 - c_tail <<'EOF' | test_C ${MAIL_DIR}
|
||||
{
|
||||
notmuch_filenames_t *filenames;
|
||||
filenames = notmuch_message_get_filenames (message);
|
||||
printf("%d\n%d\n", message != NULL, filenames == NULL);
|
||||
}
|
||||
EOF
|
||||
cat <<EOF > EXPECTED
|
||||
== stdout ==
|
||||
1
|
||||
1
|
||||
== stderr ==
|
||||
EOF
|
||||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Reference in a new issue