$OpenBSD$

Index: test/T700-reindex.sh
--- test/T700-reindex.sh.orig
+++ test/T700-reindex.sh
@@ -8,7 +8,7 @@ notmuch tag +usertag1 '*'
 
 notmuch search '*' | notmuch_search_sanitize > initial-threads
 notmuch search --output=messages '*' > initial-message-ids
-notmuch dump > initial-dump
+notmuch dump | zcat > initial-dump
 
 test_begin_subtest 'reindex preserves threads'
 notmuch reindex '*'
@@ -30,7 +30,7 @@ test_expect_equal_file initial-message-ids OUTPUT
 
 test_begin_subtest 'reindex preserves tags'
 notmuch reindex '*'
-notmuch dump > OUTPUT
+notmuch dump | zcat > OUTPUT
 test_expect_equal_file initial-dump OUTPUT
 
 test_begin_subtest 'reindex moves a message between threads'
@@ -64,7 +64,7 @@ cat <<EOF > prop-dump
 EOF
 notmuch restore < prop-dump
 notmuch reindex '*'
-notmuch dump | grep '^#=' | sort > OUTPUT
+notmuch dump | zcat | grep '^#=' | sort > OUTPUT
 test_expect_equal_file prop-dump OUTPUT
 
 add_email_corpus lkml
