]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - performance-test/T01-dump-restore
Merge tag 'debian/0.15.1-1' into squeeze-backports
[obsolete/notmuch-old] / performance-test / T01-dump-restore
diff --git a/performance-test/T01-dump-restore b/performance-test/T01-dump-restore
new file mode 100755 (executable)
index 0000000..b2ff940
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+test_description='dump and restore'
+
+. ./perf-test-lib.sh
+
+time_start
+
+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'
+
+time_done