mirror of
https://github.com/omar-polo/gmid.git
synced 2024-08-17 16:33:28 +02:00
regress: run test_ip_addr with host=127.0.0.1
This commit is contained in:
parent
a91b0892bf
commit
9f675805d0
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user