Remove non-portable shell builtin local
Dash and bash have `local`, but other sh implementations such as ksh don't. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
880f7f2c42
commit
5b428d7d2a
1 changed files with 1 additions and 1 deletions
|
@ -951,7 +951,7 @@ run_test_psa_force_curve() {
|
|||
run_test_memory_after_hanshake_with_mfl()
|
||||
{
|
||||
# The test passes if the difference is around 2*(16k-MFL)
|
||||
local MEMORY_USAGE_LIMIT="$(( $2 - ( 2 * ( 16384 - $1 )) ))"
|
||||
MEMORY_USAGE_LIMIT="$(( $2 - ( 2 * ( 16384 - $1 )) ))"
|
||||
|
||||
# Leave some margin for robustness
|
||||
MEMORY_USAGE_LIMIT="$(( ( MEMORY_USAGE_LIMIT * 110 ) / 100 ))"
|
||||
|
|
Loading…
Reference in a new issue