aboutsummaryrefslogtreecommitdiff
path: root/regress/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/tests.sh')
-rw-r--r--regress/tests.sh8
1 files changed, 8 insertions, 0 deletions
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'
+}