aboutsummaryrefslogtreecommitdiffhomepage
path: root/performance-test/T01-dump-restore.sh
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2013-05-15 07:40:08 -0300
committerGravatar David Bremner <bremner@debian.org>2013-05-15 22:23:29 -0300
commit0eab376658689469c5427d1b2c292de62e009aee (patch)
treef6d36adbb3cc75751d9f99df2b9e7fdf80454c63 /performance-test/T01-dump-restore.sh
parent23e2154cae45e07d0092ff9931411e699485350c (diff)
perf-test: rename time tests to have .sh suffix
This will simplify notmuch time tests
Diffstat (limited to 'performance-test/T01-dump-restore.sh')
-rwxr-xr-xperformance-test/T01-dump-restore.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/performance-test/T01-dump-restore.sh b/performance-test/T01-dump-restore.sh
new file mode 100755
index 00000000..b2ff9400
--- /dev/null
+++ b/performance-test/T01-dump-restore.sh
@@ -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