diff options
| author | Jani Nikula <jani@nikula.org> | 2017-09-25 23:38:20 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-10-20 19:53:14 -0300 |
| commit | fd36ae9f514520e85d9e43d4aa08263b3a5a8d3e (patch) | |
| tree | d57de1198b245069c00bb84eaeaab6e150a49619 /performance-test/M00-new.sh | |
| parent | a863de1e43ee34f6f5794a2759fdceb287e851aa (diff) | |
perf-test: use $(dirname "$0") for sourcing perf-test-lib.sh
Don't assume the tests are always run from within the source tree.
Diffstat (limited to 'performance-test/M00-new.sh')
| -rwxr-xr-x | performance-test/M00-new.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/performance-test/M00-new.sh b/performance-test/M00-new.sh index a040a97e..aab36e69 100755 --- a/performance-test/M00-new.sh +++ b/performance-test/M00-new.sh @@ -2,7 +2,7 @@ test_description='notmuch new' -. ./perf-test-lib.sh || exit 1 +. $(dirname "$0")/perf-test-lib.sh || exit 1 # ensure initial 'notmuch new' is run by memory_start uncache_database |
