mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
test: add known broken test for n_m_count_files
This will be fixed in the next commit.
This commit is contained in:
parent
00f1abfdf4
commit
6dc62d8bea
1 changed files with 17 additions and 0 deletions
|
@ -486,5 +486,22 @@ cat <<EOF > EXPECTED
|
|||
EOF
|
||||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest "Handle counting files from closed database"
|
||||
test_subtest_known_broken
|
||||
cat c_head2 - c_tail <<'EOF' | test_C ${MAIL_DIR}
|
||||
{
|
||||
int result;
|
||||
result = notmuch_message_count_files (message);
|
||||
printf("%d\n%d\n", message != NULL, result < 0);
|
||||
}
|
||||
EOF
|
||||
cat <<EOF > EXPECTED
|
||||
== stdout ==
|
||||
1
|
||||
1
|
||||
== stderr ==
|
||||
EOF
|
||||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Reference in a new issue