aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/acceptor_SUITE.erl15
1 files changed, 14 insertions, 1 deletions
diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl
index 6dd4a9c..0b86a4d 100644
--- a/test/acceptor_SUITE.erl
+++ b/test/acceptor_SUITE.erl
@@ -24,6 +24,9 @@
-export([init_per_group/2]).
-export([end_per_group/2]).
+%% misc.
+-export([misc_bad_transport/1]).
+
%% ssl.
-export([ssl_accept_error/1]).
-export([ssl_active_echo/1]).
@@ -39,7 +42,7 @@
%% ct.
all() ->
- [{group, tcp}, {group, ssl}].
+ [{group, tcp}, {group, ssl}, {group, misc}].
groups() ->
[{tcp, [
@@ -52,6 +55,8 @@ groups() ->
ssl_accept_error,
ssl_active_echo,
ssl_echo
+ ]}, {misc, [
+ misc_bad_transport
]}].
init_per_suite(Config) ->
@@ -78,6 +83,14 @@ end_per_group(ssl, _) ->
end_per_group(_, _) ->
ok.
+%% misc.
+
+misc_bad_transport(_) ->
+ {error, badarg} = ranch:start_listener(misc_bad_transport, 1,
+ bad_transport, [{port, 0}],
+ echo_protocol, []),
+ ok.
+
%% ssl.
ssl_accept_error(Config) ->