ssl-opt.sh: Correct print format for test cases' names
Avoid printing an extra space when using the --list-test-cases option. Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
This commit is contained in:
parent
12787c9ba5
commit
378e364c3c
1 changed files with 7 additions and 6 deletions
|
@ -879,15 +879,16 @@ print_name() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LINE="$LINE$1"
|
LINE="$LINE$1"
|
||||||
printf "%s " "$LINE"
|
|
||||||
if [ "$LIST_TESTS" -gt 0 ]; then
|
if [ "$LIST_TESTS" -gt 0 ]; then
|
||||||
printf "\n"
|
printf "%s\n" "$LINE"
|
||||||
else
|
return
|
||||||
LEN=$(( 72 - `echo "$LINE" | wc -c` ))
|
|
||||||
for i in `seq 1 $LEN`; do printf '.'; done
|
|
||||||
printf ' '
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
printf "%s " "$LINE"
|
||||||
|
LEN=$(( 72 - `echo "$LINE" | wc -c` ))
|
||||||
|
for i in `seq 1 $LEN`; do printf '.'; done
|
||||||
|
printf ' '
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# record_outcome <outcome> [<failure-reason>]
|
# record_outcome <outcome> [<failure-reason>]
|
||||||
|
|
Loading…
Reference in a new issue