[PATCH 1/2] test: known broken test file descriptor leak in gzip file open
David Bremner
david at tethera.net
Sun Sep 22 15:44:00 PDT 2019
James Troup reported this bug in id:87pnjsf9q5.fsf at canonical.com
---
test/T750-gzip.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/test/T750-gzip.sh b/test/T750-gzip.sh
index 5b678fa1..f4e0c42a 100755
--- a/test/T750-gzip.sh
+++ b/test/T750-gzip.sh
@@ -167,4 +167,12 @@ This is just a test message (#7)
EOF
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
--
2.23.0
More information about the notmuch
mailing list