[PATCH 01/36] test/T750-gzip: don't compress the xapian database

Subject: [PATCH 01/36] test/T750-gzip: don't compress the xapian database

Date: Sun, 3 Jan 2021 19:35:12 -0400

To: notmuch@notmuchmail.org

Cc: David Bremner

From: David Bremner


This causes mysterious failures in trying to detect if a database
exists.
---
 test/T750-gzip.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/T750-gzip.sh b/test/T750-gzip.sh
index fac41d39..807086fd 100755
--- a/test/T750-gzip.sh
+++ b/test/T750-gzip.sh
@@ -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 -false -o  -type f  -exec gzip --recursive {} \;
 test_expect_success "notmuch new"
 
 test_done
-- 
2.29.2
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: