[Patch v2 11/11] perf-test: use nmbug tags in dump-restore tests

Subject: [Patch v2 11/11] perf-test: use nmbug tags in dump-restore tests

Date: Wed, 5 Dec 2012 23:01:48 -0400

To: notmuch@notmuchmail.org

Cc: David Bremner

From: david@tethera.net


From: David Bremner <bremner@debian.org>

This makes the tag set a bit less trivial.

Note that if you use the small corpus, this is not so interesting (and
is also a bit noisy) since the messages will not be found. In the
future this could be checked for.
---
 performance-test/01-dump-restore |    1 +
 1 file changed, 1 insertion(+)

diff --git a/performance-test/01-dump-restore b/performance-test/01-dump-restore
index 09444e3..7bcf821 100755
--- a/performance-test/01-dump-restore
+++ b/performance-test/01-dump-restore
@@ -9,6 +9,7 @@ add_email_corpus
 print_header
 
 time_run 'notmuch new' 'notmuch new'
+time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'
 time_run 'dump *' 'notmuch dump > tags.out'
 time_run 'restore *' 'notmuch restore < tags.out'
 
-- 
1.7.10.4


Thread: