summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-01-10 11:52:50 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-01-10 11:52:50 -0800
commitbe69d35e4861f4fd84d4d62b9652a0537979ce0a (patch)
treed61309dcca58bd2ae7ca194e51423de254620f5e
parentMerge branch 'hn/test-ref-store-show-hash-algo' (diff)
parentt/perf: do not run tests in user's $SHELL (diff)
downloadtgif-be69d35e4861f4fd84d4d62b9652a0537979ce0a.tar.xz
Merge branch 'ja/perf-use-specified-shell'
Perf tests were run with end-user's shell, but it has been corrected to use the shell specified by $TEST_SHELL_PATH. * ja/perf-use-specified-shell: t/perf: do not run tests in user's $SHELL
-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 780a7402d5..407252bac7 100644
--- a/t/perf/perf-lib.sh
+++ b/t/perf/perf-lib.sh
@@ -161,7 +161,7 @@ test_run_perf_ () {
test_cleanup=:
test_export_="test_cleanup"
export test_cleanup test_export_
- "$GTIME" -f "%E %U %S" -o test_time.$i "$SHELL" -c '
+ "$GTIME" -f "%E %U %S" -o test_time.$i "$TEST_SHELL_PATH" -c '
. '"$TEST_DIRECTORY"/test-lib-functions.sh'
test_export () {
test_export_="$test_export_ $*"