Browse Source

tests/04_algo.sh: Fix string concatenation.

The concatenation

ALGOS=+"MILENAGE:...

seems to cause problems. Lets replace it with:

ALGOS=$ALGOS"MILENAGE:...

Change-Id: I8d946c47502305be77595cd45a64708d03441dd5
Related OS#3376
for/master/mnclen
Philipp Maier 3 years ago
parent
commit
0868212cc8
  1. 2
      tests/04_algo.sh

2
tests/04_algo.sh

@ -2,7 +2,7 @@
. ./test-data
ALGOS="1:1 3:1 4:1 5:1 6:1 7:1 9:1 5:8 3:8 "
ALGOS+="MILENAGE:MILENAGE COMP128v1:MILENAGE XOR-2G:MILENAGE COMP128v2:MILENAGE COMP128v3:MILENAGE CIS-B:MILENAGE GBA:XOR-3G COMP128v1:MILENAGE"
ALGOS=$ALGOS"MILENAGE:MILENAGE COMP128v1:MILENAGE XOR-2G:MILENAGE COMP128v2:MILENAGE COMP128v3:MILENAGE CIS-B:MILENAGE GBA:XOR-3G COMP128v1:MILENAGE"
for algo in $ALGOS; do
$TOOL -a $ADMPIN -T $algo
$TOOL -a $ADMPIN -t

Loading…
Cancel
Save