summaryrefslogtreecommitdiff
path: root/t/perf/perf-lib.sh
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2012-03-08 09:54:54 +0100
committerJunio C Hamano <gitster@pobox.com>2012-03-08 11:38:09 -0800
commit1cbc32403b20f064ec7c295c6603f6fd16662bce (patch)
treeb9afcc5efa3280b3ed310e95532ab774e27282ba /t/perf/perf-lib.sh
parent56a33c8f1bb5cef11ddf046f7b570f527ea77d37 (diff)
downloadgit-1cbc32403b20f064ec7c295c6603f6fd16662bce.tar.gz
perf: load test-lib-functions from the correct directory
Loading it in the subshells still referred to $TEST_DIRECTORY/.., which was only correct in preliminary versions of perf-lib.sh Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/perf-lib.sh')
-rw-r--r--t/perf/perf-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/perf/perf-lib.sh b/t/perf/perf-lib.sh
index 2a5e1f354d..bcc0131646 100644
--- a/t/perf/perf-lib.sh
+++ b/t/perf/perf-lib.sh
@@ -119,7 +119,7 @@ test_run_perf_ () {
test_export_="test_cleanup"
export test_cleanup test_export_
/usr/bin/time -f "%E %U %S" -o test_time.$i "$SHELL" -c '
-. '"$TEST_DIRECTORY"/../test-lib-functions.sh'
+. '"$TEST_DIRECTORY"/test-lib-functions.sh'
test_export () {
[ $# != 0 ] || return 0
test_export_="$test_export_\\|$1"