aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_agent_test.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snmp/test/snmp_agent_test.erl')
-rw-r--r--lib/snmp/test/snmp_agent_test.erl17
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/snmp/test/snmp_agent_test.erl b/lib/snmp/test/snmp_agent_test.erl
index 736e1c8ebd..e1d7f33b3f 100644
--- a/lib/snmp/test/snmp_agent_test.erl
+++ b/lib/snmp/test/snmp_agent_test.erl
@@ -346,9 +346,15 @@ end_per_group(_GroupName, Config) ->
+%% ---- Init Per TestCase ----
+
init_per_testcase(Case, Config) when is_list(Config) ->
?DBG("init_per_testcase -> entry with"
- "~n Agant Info: ~p", [snmpa:info()]),
+ "~n Config: ~p", [Config]),
+
+ p("Agent Info: "
+ "~n ~p", [snmpa:info()]),
+
init_per_testcase1(Case, Config).
init_per_testcase1(otp8395 = Case, Config) when is_list(Config) ->
@@ -386,11 +392,16 @@ init_per_testcase1(_Case, Config) when is_list(Config) ->
Dog = ?WD_START(?MINS(6)),
[{watchdog, Dog}| Config ].
+
+%% ---- End Per TestCase ----
+
end_per_testcase(Case, Config) when is_list(Config) ->
?DBG("end_per_testcase -> entry with"
- "~n Agant Info: ~p", [snmpa:info()]),
+ "~n Config: ~p", [Config]),
+
+ p("Agent Info: "
+ "~n ~p", [snmpa:info()]),
- p("Display log"),
display_log(Config),
end_per_testcase1(Case, Config).