test: known broken test file descriptor leak in gzip file open

James Troup reported this bug in id:87pnjsf9q5.fsf@canonical.com
This commit is contained in:
David Bremner 2019-09-22 19:44:00 -03:00
parent 1ee5bdcc1d
commit 2cf38f8e1c

View file

@ -167,4 +167,12 @@ This is just a test message (#7)
EOF EOF
test_expect_equal_file EXPECTED OUTPUT test_expect_equal_file EXPECTED OUTPUT
# there are more than 200 messages in this corpus
add_email_corpus lkml
test_begin_subtest "new doesn't run out of file descriptors with many gzipped files"
test_subtest_known_broken
ulimit -n 200
gzip --recursive ${MAIL_DIR}
test_expect_success "notmuch new"
test_done test_done