aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test/httpd_SUITE.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-02-09 16:23:55 +0100
committerMicael Karlberg <[email protected]>2012-02-09 16:23:55 +0100
commit1ef8d7ee1e971e20c6c18363b3745101b4ce5f92 (patch)
treeb9db20e5bee1ffbf605cbd3315b36484a8067b2a /lib/inets/test/httpd_SUITE.erl
parentff09910333c1589bf75e44fb33ad16e3cbff5000 (diff)
downloadotp-1ef8d7ee1e971e20c6c18363b3745101b4ce5f92.tar.gz
otp-1ef8d7ee1e971e20c6c18363b3745101b4ce5f92.tar.bz2
otp-1ef8d7ee1e971e20c6c18363b3745101b4ce5f92.zip
[inets] Add test case group check for IPv6 support
Diffstat (limited to 'lib/inets/test/httpd_SUITE.erl')
-rw-r--r--lib/inets/test/httpd_SUITE.erl11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/inets/test/httpd_SUITE.erl b/lib/inets/test/httpd_SUITE.erl
index 51ccff5720..07c529acc8 100644
--- a/lib/inets/test/httpd_SUITE.erl
+++ b/lib/inets/test/httpd_SUITE.erl
@@ -224,7 +224,8 @@ all() ->
].
groups() ->
- [{ip, [],
+ [
+ {ip, [],
[ip_mod_alias, ip_mod_actions, ip_mod_security,
ip_mod_auth, ip_mod_auth_api, ip_mod_auth_mnesia_api,
ip_mod_htaccess, ip_mod_cgi, ip_mod_esi, ip_mod_get,
@@ -293,6 +294,14 @@ groups() ->
[ticket_5775, ticket_5865, ticket_5913, ticket_6003,
ticket_7304]}].
+
+init_per_group(ipv6 = _GroupName, Config) ->
+ case inets_test_lib:has_ipv6_support() of
+ {ok, _} ->
+ Config;
+ _ ->
+ {skip, "Host does not support IPv6"}
+ end;
init_per_group(_GroupName, Config) ->
Config.