notmuch/performance-test/M00-new.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

15 lines
293 B
Bash
Executable file

#!/bin/bash
test_description='notmuch new'
. $(dirname "$0")/perf-test-lib.sh || exit 1
# ensure initial 'notmuch new' is run by memory_start
uncache_database
memory_start
# run 'notmuch new' a second time, to test different code paths
memory_run "notmuch new" "notmuch new"
memory_done