Fix misuse of printf in shell script

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard 2020-07-27 09:45:32 +02:00
parent 7442f843d5
commit a1919ad6e0

View file

@ -657,7 +657,7 @@ run_test() {
# run the commands
if [ -n "$PXY_CMD" ]; then
printf "# $NAME\n$PXY_CMD\n" > $PXY_OUT
printf "# %s\n%s\n" "$NAME" "$PXY_CMD" > $PXY_OUT
$PXY_CMD >> $PXY_OUT 2>&1 &
PXY_PID=$!
wait_proxy_start "$PXY_PORT" "$PXY_PID"