diff options
author | Raimo Niskanen <[email protected]> | 2014-06-24 15:54:48 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2014-07-25 12:17:49 +0200 |
commit | 666559111508b65ab1379476b0d8c76c15e5700e (patch) | |
tree | bd408f131099434d12653a5b8a5facbe3952b23f /lib/snmp/test/snmp_manager_test.erl | |
parent | 41fe52bd9540307cdb6e2e4ba06d36b11c9fd6bd (diff) | |
download | otp-666559111508b65ab1379476b0d8c76c15e5700e.tar.gz otp-666559111508b65ab1379476b0d8c76c15e5700e.tar.bz2 otp-666559111508b65ab1379476b0d8c76c15e5700e.zip |
Mend regression tests
Diffstat (limited to 'lib/snmp/test/snmp_manager_test.erl')
-rw-r--r-- | lib/snmp/test/snmp_manager_test.erl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/snmp/test/snmp_manager_test.erl b/lib/snmp/test/snmp_manager_test.erl index 75560f8958..78352e59cf 100644 --- a/lib/snmp/test/snmp_manager_test.erl +++ b/lib/snmp/test/snmp_manager_test.erl @@ -581,8 +581,16 @@ init_per_group(event_tests_mt = GroupName, Config) -> snmp_test_lib:init_group_top_dir( GroupName, [{manager_net_if_module, snmpm_net_if_mt} | Config]); -init_per_group(ipv6_mt, Config) -> - init_per_group(ipv6, [{manager_net_if_module, snmpm_net_if_mt} | Config]); +init_per_group(ipv6_mt = GroupName, Config) -> + case ct:require(ipv6_hosts) of + ok -> + ipv6_init( + snmp_test_lib:init_group_top_dir( + GroupName, + [{manager_net_if_module, snmpm_net_if_mt} | Config])); + _ -> + {skip, "Host does not support IPV6"} + end; init_per_group(ipv6 = GroupName, Config) -> case ct:require(ipv6_hosts) of ok -> |