mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
REGTEST/MINOR: Wrong URI syntax.
Ilya Shipitsin reported that with some curl versions this reg test may fail due to a wrong URI syntax with ::1 ipv6 local address in this varnishtest script. This patch fixes this syntax issue and replaces the iteration of "procees" commands by a "shell" command to start curl processes (must be faster). Thanks to Ilya Shipitsin for having reported this VTC file bug.
This commit is contained in:
parent
3b479bd5f5
commit
49076c3b71
@ -31,14 +31,13 @@ haproxy h1 -conf {
|
|||||||
http-request redirect location /
|
http-request redirect location /
|
||||||
} -start
|
} -start
|
||||||
|
|
||||||
process p1 "curl -i -k https://${h1_frt_addr}:${h1_frt_port}" -start
|
shell {
|
||||||
process p2 "curl -i -k https://${h1_frt_addr}:${h1_frt_port}" -start
|
HOST=${h1_frt_addr}
|
||||||
process p3 "curl -i -k https://${h1_frt_addr}:${h1_frt_port}" -start
|
if [ "${h1_frt_addr}" = "::1" ] ; then
|
||||||
process p4 "curl -i -k https://${h1_frt_addr}:${h1_frt_port}" -start
|
HOST="[::1]"
|
||||||
process p5 "curl -i -k https://${h1_frt_addr}:${h1_frt_port}" -start
|
fi
|
||||||
|
for i in 1 2 3 4 5; do
|
||||||
process p1 -wait
|
curl -i -k https://$HOST:${h1_frt_port} & pids="$pids $!"
|
||||||
process p2 -wait
|
done
|
||||||
process p3 -wait
|
wait $pids
|
||||||
process p4 -wait
|
}
|
||||||
process p5 -wait
|
|
||||||
|
Loading…
Reference in New Issue
Block a user