aboutsummaryrefslogtreecommitdiff
path: root/performance-test/M06-insert.sh
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2017-09-25 23:38:20 +0300
committerDavid Bremner <david@tethera.net>2017-10-20 19:53:14 -0300
commitfd36ae9f514520e85d9e43d4aa08263b3a5a8d3e (patch)
treed57de1198b245069c00bb84eaeaab6e150a49619 /performance-test/M06-insert.sh
parenta863de1e43ee34f6f5794a2759fdceb287e851aa (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/M06-insert.sh')
-rwxr-xr-xperformance-test/M06-insert.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/performance-test/M06-insert.sh b/performance-test/M06-insert.sh
index 9fcc2a0c..5ae0656a 100755
--- a/performance-test/M06-insert.sh
+++ b/performance-test/M06-insert.sh
@@ -2,7 +2,7 @@
test_description='search'
-. ./perf-test-lib.sh || exit 1
+. $(dirname "$0")/perf-test-lib.sh || exit 1
memory_start