X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT750-gzip.sh;h=7d550e666a85547cb1898e1f18c321f2e0ece668;hb=7061e41cd0ed7a37dab83687697a692a53c5a66f;hp=5b678fa1eda29960473549b9223067ba39c7c388;hpb=103c11822ee0b7645fda6397fb40f8ac7ed9b49b;p=notmuch diff --git a/test/T750-gzip.sh b/test/T750-gzip.sh index 5b678fa1..7d550e66 100755 --- a/test/T750-gzip.sh +++ b/test/T750-gzip.sh @@ -167,4 +167,11 @@ 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" +ulimit -n 200 +find ${MAIL_DIR} -name .notmuch -prune -o -type f -print0 | xargs -0 gzip -- +test_expect_success "notmuch new" + test_done