Update test/quic-openssl-docker/run_endpoint.sh

Co-authored-by: Viktor Dukhovni <viktor1ghub@dukhovni.org>

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25528)
This commit is contained in:
Neil Horman 2024-09-29 14:03:03 -04:00 committed by Tomas Mraz
parent a941f5d52e
commit 76c4f0e8ea

View File

@ -72,7 +72,7 @@ if [ "$ROLE" == "client" ]; then
for req in $REQUESTS for req in $REQUESTS
do do
OUTFILE=$(basename $req) OUTFILE=$(basename $req)
echo -n "$OUTFILE " > ./reqfile.txt printf "%s " "$OUTFILE" >> ./reqfile.txt
HOSTNAME=$(printf "%s\n" "$req" | sed -ne 's,^https://\([^/:]*\).*,\1,p') HOSTNAME=$(printf "%s\n" "$req" | sed -ne 's,^https://\([^/:]*\).*,\1,p')
HOSTPORT=$(printf "%s\n" "$req" | sed -ne 's,^https://[^:/]*:\([^/]*\).*,\1,p') HOSTPORT=$(printf "%s\n" "$req" | sed -ne 's,^https://[^:/]*:\([^/]*\).*,\1,p')
done done