X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT750-gzip.sh;h=4408d085a58031046d81148375695d55ce5eef25;hb=2d036dbc3b6e48b12ab3e8aa0cbe713d2ef96854;hp=5b678fa1eda29960473549b9223067ba39c7c388;hpb=103c11822ee0b7645fda6397fb40f8ac7ed9b49b;p=notmuch diff --git a/test/T750-gzip.sh b/test/T750-gzip.sh index 5b678fa1..4408d085 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