[PATCH 23/23] test: add test for reindex in split configurations

Subject: [PATCH 23/23] test: add test for reindex in split configurations

Date: Sun, 7 Feb 2021 20:41:09 -0400

To: notmuch@notmuchmail.org

Cc: David Bremner

From: David Bremner


---
 test/T055-path-config.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/T055-path-config.sh b/test/T055-path-config.sh
index 5251aebf..44572695 100755
--- a/test/T055-path-config.sh
+++ b/test/T055-path-config.sh
@@ -166,6 +166,12 @@ EOF
     notmuch dump > OUTPUT
     test_expect_equal_file EXPECTED OUTPUT
 
+    test_begin_subtest 'reindex ($config)'
+    notmuch search --output=messages '*' > EXPECTED
+    notmuch reindex '*'
+    notmuch search --output=messages '*' > OUTPUT
+    test_expect_equal_file EXPECTED OUTPUT
+
     restore_config
 done
 
-- 
2.30.0
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: