]> git.cworth.org Git - notmuch/blobdiff - test/T750-gzip.sh
Merge tag 'debian/0.34.2-1'
[notmuch] / test / T750-gzip.sh
index 5b678fa1eda29960473549b9223067ba39c7c388..4408d085a58031046d81148375695d55ce5eef25 100755 (executable)
@@ -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