diff options
Diffstat (limited to 'regress')
-rwxr-xr-x | regress/regress | 1 | ||||
-rw-r--r-- | regress/tests.sh | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/regress/regress b/regress/regress index 0c8a4ae..6474e4f 100755 --- a/regress/regress +++ b/regress/regress @@ -53,5 +53,6 @@ run_test test_macro_expansion run_test test_174_bugfix run_test test_proxy_relay_to run_test test_proxy_with_certs +run_test test_unknown_host tests_done diff --git a/regress/tests.sh b/regress/tests.sh index 398c458..9fae42d 100644 --- a/regress/tests.sh +++ b/regress/tests.sh @@ -362,3 +362,11 @@ test_proxy_with_certs() { fetch / check_reply "60 client certificate required" || return 1 } + +test_unknown_host() { + setup_simple_test '' '' + + ggflags="-N -H foobar" + fetch / + check_reply '59 Wrong/malformed host or missing SNI' +} |