summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2019-09-22 19:44:00 -0300
committerDavid Bremner <david@tethera.net>2019-10-12 08:43:39 -0300
commit2cf38f8e1c1d3b50ac41b002308de5eea9efc61d (patch)
tree5ac8d73ac2e99d388857c9eea277ca5c16f0b0d9
parent1ee5bdcc1de8b39be57ab4a929cef81891053140 (diff)
test: known broken test file descriptor leak in gzip file open
James Troup reported this bug in id:87pnjsf9q5.fsf@canonical.com
-rwxr-xr-xtest/T750-gzip.sh8
1 files changed, 8 insertions, 0 deletions
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