diff --git a/test/quic-openssl-docker/run_endpoint.sh b/test/quic-openssl-docker/run_endpoint.sh index db26e7c426f3e..5cd006ab4d548 100644 --- a/test/quic-openssl-docker/run_endpoint.sh +++ b/test/quic-openssl-docker/run_endpoint.sh @@ -72,7 +72,7 @@ if [ "$ROLE" == "client" ]; then for req in $REQUESTS do OUTFILE=$(basename $req) - echo -n "$OUTFILE " > ./reqfile.txt + printf "%s " "$OUTFILE" >> ./reqfile.txt HOSTNAME=$(printf "%s\n" "$req" | sed -ne 's,^https://\([^/:]*\).*,\1,p') HOSTPORT=$(printf "%s\n" "$req" | sed -ne 's,^https://[^:/]*:\([^/]*\).*,\1,p') done