Merge branch 'es/perf-export-fix'
Tweak unneeded recursion from a test framework helper function. * es/perf-export-fix: t/perf: avoid unnecessary test_export() recursion
This commit is contained in:
commit
d3aff11c3e
@ -147,10 +147,7 @@ test_run_perf_ () {
|
|||||||
"$GTIME" -f "%E %U %S" -o test_time.$i "$SHELL" -c '
|
"$GTIME" -f "%E %U %S" -o test_time.$i "$SHELL" -c '
|
||||||
. '"$TEST_DIRECTORY"/test-lib-functions.sh'
|
. '"$TEST_DIRECTORY"/test-lib-functions.sh'
|
||||||
test_export () {
|
test_export () {
|
||||||
[ $# != 0 ] || return 0
|
test_export_="$test_export_ $*"
|
||||||
test_export_="$test_export_ $1"
|
|
||||||
shift
|
|
||||||
test_export "$@"
|
|
||||||
}
|
}
|
||||||
'"$1"'
|
'"$1"'
|
||||||
ret=$?
|
ret=$?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user