notmuch/performance-test/T02-tag.sh
Jani Nikula fd36ae9f51 perf-test: use $(dirname "$0") for sourcing perf-test-lib.sh
Don't assume the tests are always run from within the source tree.
2017-10-20 19:53:14 -03:00

14 lines
336 B
Bash
Executable file

#!/bin/bash
test_description='tagging'
. $(dirname "$0")/perf-test-lib.sh || exit 1
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