diff options
Diffstat (limited to 'lib/snmp/test/snmp_agent_test.erl')
| -rw-r--r-- | lib/snmp/test/snmp_agent_test.erl | 58 | 
1 files changed, 20 insertions, 38 deletions
diff --git a/lib/snmp/test/snmp_agent_test.erl b/lib/snmp/test/snmp_agent_test.erl index e1d7f33b3f..bfe14bc080 100644 --- a/lib/snmp/test/snmp_agent_test.erl +++ b/lib/snmp/test/snmp_agent_test.erl @@ -458,29 +458,16 @@ end_per_testcase2(_Case, Config) ->  cases() ->  -    case ?OSTYPE() of -	vxworks -> -	    [ -	     {group, misc},  -	     {group, test_v1},  -	     {group, test_v2}, -	     {group, test_v1_v2},  -	     {group, test_multi_threaded}, -	     {group, mib_storage},  -	     {group, tickets1} -	    ]; -	_Else -> -	    [ -	     {group, misc},  -	     {group, test_v1},  -	     {group, test_v2}, -	     {group, test_v1_v2},  -	     {group, test_v3}, -	     {group, test_multi_threaded},  -	     {group, mib_storage}, -	     {group, tickets1} -	    ] -    end. +    [ +	{group, misc},  +	{group, test_v1},  +	{group, test_v2}, +	{group, test_v1_v2},  +	{group, test_v3}, +	{group, test_multi_threaded},  +	{group, mib_storage}, +	{group, tickets1} +    ].  %%%----------------------------------------------------------------- @@ -1305,21 +1292,16 @@ init_v3(Config) when is_list(Config) ->      %% and we will be stuck with a bunch of mnesia tables for      %% the rest of this suite...      ?DBG("start_agent -> start crypto app",[]), -    case os:type() of -	vxworks -> -	    no_crypto; -	_ -> -	    case ?CRYPTO_START() of -		ok -> -		    case ?CRYPTO_SUPPORT() of -			{no, Reason} -> -			    ?SKIP({unsupported_encryption, Reason}); -			yes -> -			    ok -		    end; -		{error, Reason} -> -		    ?SKIP({failed_starting_crypto, Reason}) -	    end +    case ?CRYPTO_START() of +	ok -> +	    case ?CRYPTO_SUPPORT() of +		{no, Reason} -> +		    ?SKIP({unsupported_encryption, Reason}); +		yes -> +		    ok +	    end; +	{error, Reason} -> +	    ?SKIP({failed_starting_crypto, Reason})      end,      SaNode = ?config(snmp_sa, Config),      create_tables(SaNode),  | 
