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
This commit is contained in:
Junio C Hamano 2022-01-10 11:52:50 -08:00
Родитель 321f7f4fa4 9ccab75608
Коммит be69d35e48
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -161,7 +161,7 @@ test_run_perf_ () {
test_cleanup=: test_cleanup=:
test_export_="test_cleanup" test_export_="test_cleanup"
export test_cleanup test_export_ 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_DIRECTORY"/test-lib-functions.sh'
test_export () { test_export () {
test_export_="$test_export_ $*" test_export_="$test_export_ $*"