aboutsummaryrefslogtreecommitdiffhomepage
path: root/performance-test/T02-tag.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/T02-tag.sh
parent23e2154cae45e07d0092ff9931411e699485350c (diff)
perf-test: rename time tests to have .sh suffix
This will simplify notmuch time tests
Diffstat (limited to 'performance-test/T02-tag.sh')
-rwxr-xr-xperformance-test/T02-tag.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/performance-test/T02-tag.sh b/performance-test/T02-tag.sh
new file mode 100755
index 00000000..78cecccc
--- /dev/null
+++ b/performance-test/T02-tag.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+test_description='tagging'
+
+. ./perf-test-lib.sh
+
+time_start
+
+time_run 'tag * +new_tag' "notmuch tag +new_tag '*'"
+time_run 'tag * +existing_tag' "notmuch tag +new_tag '*'"
+time_run 'tag * -existing_tag' "notmuch tag -new_tag '*'"
+time_run 'tag * -missing_tag' "notmuch tag -new_tag '*'"
+
+time_done