aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_agent_test_lib.erl
AgeCommit message (Collapse)Author
2019-04-11[snmp|agent|test] Test case info and cleanupMicael Karlberg
1) A test case failed due to the times retreived by get(snmpEngineTime) reported to large time diffs (this is basically a sanity check). Added some more info about time(s) to see if there are some "gaps" somewhere. The problem occurred on a slow Virtial Machine. 2) A previous (failing) test case failed to cleanup after itself (see above), which caused later test cases to fail. Specifically, the app top supervisor was not terminated, which caused the start agent function to fail (basically already_started).
2019-04-11[snmp|agent|test] More test tweakingMicael Karlberg
Improved test printouts (more with timestamps), also fixed the printouts of the (fake) local-db start result printout. Also updated the copyright end-dates.
2019-04-11[snmp|agent|test] Improve the EXPECT printoutsMicael Karlberg
The EXPECT printouts has been improved. Partly by including a timestamp.
2019-03-28[snmp|agent] Add the default get-mechanism module snmpa_getMicael Karlberg
Added the snmpa_get module as the default get-mechanism for the agent. This has been done by simply moving the do_get, do_get_next and do_get_bulk functions from the snmpa_agent module. Some functions where also moved into the lib module (with the idea of beeing more generally useful). OTP-15691
2016-03-15update copyright-yearHenrik Nord
2016-02-17Eliminate use of test_server.hrl and test_server_line.hrlBjörn Gustavsson
As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl.
2015-06-18Change license text to APLv2Bruce Yinhe
2014-07-30Fix test manager in agent tests for IPv6Raimo Niskanen
2014-07-25Write IPv6 test casesRaimo Niskanen
2014-07-25snmp: Add IPV6 testsIngela Anderton Andin
2014-07-25wipRaimo Niskanen
2014-07-25wip-all-regression-tests-but-one-managerRaimo Niskanen
2014-07-22Rewrite agent configuration parsingRaimo Niskanen
2014-03-18[snmp/agent] CLeanup - unused vars and use of deprecated funcsMicael Karlberg
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-06-12Update copyright yearsBjörn-Egil Dahlberg
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.
2012-07-19snmp: Remove VxWorksBjörn-Egil Dahlberg
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-02-22[snmp] Some restructure of the agent test suiteMicael Karlberg
OTP-9940
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-03-08Mostly esthetic stuff...Micael Karlberg
2010-06-04OTP-8478: Added support for multiple SNMPv3 EngineIDs in a single agentMicael Karlberg
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP