]> git.notmuchmail.org Git - notmuch/blobdiff - test/T750-gzip.sh
test/T750-gzip: don't compress the xapian database
[notmuch] / test / T750-gzip.sh
index fac41d399bb7309203770b8f30a6a3265f827412..7d550e666a85547cb1898e1f18c321f2e0ece668 100755 (executable)
@@ -171,7 +171,7 @@ test_expect_equal_file EXPECTED OUTPUT
 add_email_corpus lkml
 test_begin_subtest "new doesn't run out of file descriptors with many gzipped files"
 ulimit -n 200
-gzip --recursive ${MAIL_DIR}
+find ${MAIL_DIR} -name .notmuch -prune -o  -type f -print0 | xargs -0 gzip --
 test_expect_success "notmuch new"
 
 test_done