]> git.notmuchmail.org Git - notmuch/blob - performance-test/M00-new.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / performance-test / M00-new.sh
1 #!/bin/bash
2
3 test_description='notmuch new'
4
5 . ./perf-test-lib.sh || exit 1
6
7 # ensure initial 'notmuch new' is run by memory_start
8 uncache_database
9
10 memory_start
11
12 # run 'notmuch new' a second time, to test different code paths
13 memory_run "notmuch new" "notmuch new"
14
15 memory_done