diff options
author | Omar Polo <op@omarpolo.com> | 2024-05-29 08:33:36 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-05-29 08:33:36 +0000 |
commit | 9f675805d0983c8b89f16cdc7b407069a7a2655f (patch) | |
tree | 647f7f94240c141b2c660fe8f35cd7baf25a8f7c /regress | |
parent | a91b0892bfc5cb8a106a8ce7014515297db7e7d3 (diff) |
regress: run test_ip_addr with host=127.0.0.1
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib.sh | 5 | ||||
-rw-r--r-- | regress/tests.sh | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/regress/lib.sh b/regress/lib.sh index 572595b..8cd41d1 100644 --- a/regress/lib.sh +++ b/regress/lib.sh @@ -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 diff --git a/regress/tests.sh b/regress/tests.sh index b5f62e0..f06fdf2 100644 --- a/regress/tests.sh +++ b/regress/tests.sh @@ -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 |