]> git.cworth.org Git - notmuch/commitdiff
test/T750-gzip: don't compress the xapian database
authorDavid Bremner <david@tethera.net>
Sun, 3 Jan 2021 23:35:12 +0000 (19:35 -0400)
committerDavid Bremner <david@tethera.net>
Fri, 15 Jan 2021 11:43:07 +0000 (07:43 -0400)
This causes mysterious failures in trying to detect if a database
exists.

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