aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_agent_test.erl
AgeCommit message (Collapse)Author
2013-09-03[snmp/agent] Improved loading and unload of MIBsMicael Karlberg
Improved the documentation of the loading and unloading of MIBs (plural). also added functions for loading and unloading a single mib. OTP-11216
2013-05-31[snmp/agent] Some restructuring of test suiteMicael Karlberg
Removed use of the "-compile(export_all)" attribute and instead explicitly export functions. This together with some renaming of internal functions avoids unpredictable ct side effects. Previously some test cases had "internal" (since the export_all made all functions exported, not so much) functions, with the same name but with arity 0, which did the actual test case. This made for confusing logs and possible unpredictable test behaviour.
2013-05-30[snmp/agent] Fixed expect macroMicael Karlberg
2013-05-30[snmp/agent] Changed the test suite expect functionMicael Karlberg
There was an id as the first agument to each expect call. Ufortunatly, this id was often 1 and since the same test function(s) was called in many test cases, there was many "Expect 1", and therefor no way of knowing which expect actually was performed. The expect functions has been changed to instead take module and line number.
2013-05-23[snmp/agent] Merging test case specific and common config envMicael Karlberg
There is a set of default agent config environment values used when starting an agent. For specififc group of test cases, other values is used. These two groups of environment is now merged in a more controlled way. Also test case grouping make use of more test cases functions (in order to make the groups() function more readable).
2013-05-23[snmp/agent] Update agent test (sub-) suiteMicael Karlberg
The agent test (sub-) suite updated according to the new mib-storage format. Also changed config of started agent to the "new" format.
2013-05-16[snmp/agent] Fixed some test casesMicael Karlberg
2013-01-09Prepare OTP files for Unicode as default encodingHans Bolinder
2012-08-17Merge branch 'maint'Micael Karlberg
2012-08-01[snmp/agent] Printout (of agent info) using plain print functionMicael Karlberg
Printout (of agent info) using plain print function rather than debug (DBG) macro.
2012-08-01[snmp/agent] Add agent info printout at begin and end of test caseMicael Karlberg
Add agent info ( snmpa:info() ) in the init_per_testcase and end_per_testcase in the agent test suite. Also display (print) the audit trail log in the end_per_testcase.
2012-07-19snmp: Remove VxWorksBjörn-Egil Dahlberg
2012-03-05Merge branch 'bmk/snmp/improve_error_handling_reading_config/OTP-9943' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/test/snmp_app_test.erl
2012-03-05[snmp] Misc cosmetic changes to some test suitesMicael Karlberg
OTP-9943
2012-02-23Merge branch 'bmk/snmp/manager/threaded_net_if/OTP-9876' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/test/snmp_agent_test.erl lib/snmp/vsn.mk
2012-02-22[snmp] Some restructure of the agent test suiteMicael Karlberg
OTP-9940
2012-02-22[snmp] Tests for new manager net-if-mt moduleMicael Karlberg
Updated manager test suite with groups that tests the new net-if module, snmpm_net_if_mt. Also fixed the suite, group and test-case init functions for a number of sub-suites. OTP-9876
2012-01-31Merge branch 'maint-r13' into bmk/snmp/snmp4217_integration/r14Micael Karlberg
Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/doc/src/snmpa.xml lib/snmp/src/agent/snmpa_mpd.erl lib/snmp/src/app/snmp.appup.src lib/snmp/test/snmp_agent_test.erl lib/snmp/vsn.mk
2012-01-26[snmp/agent] Added backup check for local_dbMicael Karlberg
Added a backup check also for local_db (same as for the mib-server). Updated appup and set proper version (vsn.mk). Finally added test case for issue. OTP-9884
2012-01-24[snmp] Merged from R13B and also fixed appupMicael Karlberg
Merge from R13B maintenance branch (snmp-4.17.3), fixed appup and source diff (there is some between snmp-4.17.3 and 4.21.6). Merge branch 'maint-r13' into bmk/snmp/snmp4216_integration/r14 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/agent/snmpa.erl lib/snmp/src/agent/snmpa_agent.erl lib/snmp/src/agent/snmpa_trap.erl lib/snmp/src/app/snmp.appup.src lib/snmp/test/snmp_agent_test.erl lib/snmp/vsn.mk
2011-12-21[snmp] Fixed the mt_trap test-caseMicael Karlberg
It has long been broken, but this fact was hidden by the faulty expect functions. OTP-9700
2011-11-25[agent] Version 4.20 introduced a change that broke trap sending fromMicael Karlberg
subagents. Due to a bug in the test code, this was not discovered, until that bug was fixed. OTP-9745
2011-11-25Fixed expect function, which basically ignored detected errors.Micael Karlberg
Also added more printouts to make it easier to follow the flow of the test. In the same spirit, changed the tags in some of the test cases so that it would be possible to distinguish one expect call form another (not always possible since some functions are used by several test cases). OTP-9748
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
2011-04-15Merge branch 'bmk/snmp/manager/request_override_options' into ↵Micael Karlberg
bmk/snmp/snmp420_integration Conflicts: lib/snmp/src/app/snmp.appup.src OTP-9162
2011-03-08Mostly esthetic stuff...Micael Karlberg
2011-02-17Update snmp tests to conform with common_test standardLukas Larsson
2011-02-17Update all fin_per_testcase to end_per_testcase.Lukas Larsson
2011-02-17Updated test cases to work with ts conversion algorithmLukas Larsson
2010-08-20snmp: Patch 1125Micael Karlberg
OTP-8478 [agent] Added very basic support for multiple SNMPv3 EngineIDs in a single agent.
2010-06-08OTP-8478: Added support for multiple SNMPv3 EngineIDs in a single agent.Micael Karlberg
2010-06-04OTP-8478: Added support for multiple SNMPv3 EngineIDs in a single agentMicael Karlberg
2010-02-03OTP-8395: Sequence number in Audit Trail Logs.Micael Karlberg
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP