regress: run test_ip_addr with host=127.0.0.1

This commit is contained in:
Omar Polo 2024-05-29 08:33:36 +00:00
parent a91b0892bf
commit 9f675805d0
2 changed files with 5 additions and 3 deletions

View File

@ -11,6 +11,7 @@ gghost=
run_test() {
ggflags=
host="$REGRESS_HOST"
port=10965
config_common="log syslog off"
hdr=
@ -67,7 +68,7 @@ server "$server_name" {
cert "$PWD/localhost.pem"
key "$PWD/localhost.key"
root "$PWD/testdata"
listen on $REGRESS_HOST port $port
listen on $host port $port
$2
}
EOF
@ -82,7 +83,7 @@ set_proxy() {
server "localhost.local" {
cert "$PWD/localhost.pem"
key "$PWD/localhost.key"
listen on $REGRESS_HOST port $port
listen on $host port $port
proxy {
relay-to localhost port $port
$1

View File

@ -322,7 +322,7 @@ server "localhost" {
cert \$pwd "/localhost.pem"
key \$pwd "/localhost.key"
root \$pwd "/testdata"
listen on $REGRESS_HOST port $port
listen on $host port $port
@common
}
EOF
@ -433,6 +433,7 @@ log style legacy'
test_ip_addr() {
server_name="*"
host="127.0.0.1"
gghost=127.0.0.1
ggflags=-N
setup_simple_test