aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test
AgeCommit message (Collapse)Author
2013-11-19Merge branch 'bmk/snmp/blocking_log_during_conversion' into ↵Micael Karlberg
bmk/snmp/snmp425_integration Conflicts: lib/snmp/src/app/snmp.erl
2013-11-19[snmp] Cleanup and changed atl conversion block defaultMicael Karlberg
Changed the default value for the Audit Trail Log conversion to true. Also some cleanup. OTP-11396
2013-10-11Merge branch 'bmk/snmp/blocking_log_during_conversion' into ↵Micael Karlberg
bmk/snmp/snmp425_integration Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.erl
2013-10-11[snmp] Add (atl) log conversion block optionMicael Karlberg
It is now possible to request that the Audit Trail Log should be blocked during conversion (log_to_txt or log_to_io). This could be usefull when coverting a large log (when there is a chance it may otherwise wrap during conversion).
2013-10-09Merge branch ↵Micael Karlberg
'bmk/snmp/manager/improve_user_callback_response_handling2/OTP-11307' into bmk/snmp/snmp425_integration Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
2013-10-09[snmp] Add proper version, release nodes and appupMicael Karlberg
Also fixed copyright end date. OTP-11352
2013-10-09[snmp/agent] enable SNMP to create missing database directoriesSteve Vinoski
Add {db_init_error, create_db_and_dir} option to SNMP manager and agent. This allows them to create any missing parent directories for db_dir, rather than treating any missing directories as a fatal error. The default for db_init_error, which is terminate, is unchanged. Add create_db_and_dir to the documentation. Add new tests to verify that using create_db_and_dir results in missing parent directories being created.
2013-10-09[snmp/manager] Improve handling of unexpected/invalid snmpm_user callbacksMicael Karlberg
Improved handling of unexpected return values from snmpm_user callback functions. Violations of the documented API (crashes or invalid return values) will now result in an error message. Updated doc for snmpm_user bahaviour and some other stuff. Add more (common) type defs. Update manager example. Fixed manager test(s). Fixed unused vars in (manager) test suite. Make test user follow defined behaviour.
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-07-16snmp: Silence debug in testsBjörn-Egil Dahlberg
2013-06-12Update copyright yearsBjörn-Egil Dahlberg
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-28Merge branch 'bmk/snmp/agent/mib_storage_behaviour/OTP-11107' into ↵Micael Karlberg
bmk/snmp/snmp424_integration/r16 Conflicts: lib/snmp/doc/src/notes.xml
2013-05-28Merge branch 'bmk/snmp/agent/mib_server_data_callback/OTP-11101' into ↵Micael Karlberg
bmk/snmp/snmp424_integration/r16 Conflicts: lib/snmp/doc/src/notes.xml
2013-05-28[snmp] Updated (all) test code to support new crypto interfaceMicael Karlberg
Test suite utility function for verifying crypto support updated to use new crypto interface. OTP-11009
2013-05-24[snmp/agent] Some restructuring and some new test cases of mib-server suiteMicael Karlberg
2013-05-23[snmp/agent] Make the mib-server test (sub-) suite use new mib-storageMicael Karlberg
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-03-31Fix SNMP gitignore filesAnthony Ramine
2013-02-05Merge branch 'bmk/snmp/snmp4222_integration/r15' into ↵Micael Karlberg
bmk/snmp/snmp4231_integration/r16 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/vsn.mk
2013-02-05[snmp/compiler] Add test case and test mibMicael Karlberg
2013-02-05[snmp/compiler] Add the mib (ALARM-MIB)Micael Karlberg
2013-02-05[snmp/compiler] Added test case for BITS importMicael Karlberg
2013-02-04[snmp/compiler] Corrected test mibsMicael Karlberg
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-09Prepare OTP files for Unicode as default encodingHans Bolinder
2012-12-20[snmp/manager] Updated manager test suite to use only the apiMicael Karlberg
Updated manager test suite to use only the api. The test cases that tested the old api (01), are now skipped. OTP-10027
2012-12-20[snmp/manager] Preliminary test suite updateMicael Karlberg
OTP-10027
2012-08-31Merge branch 'maint'Björn-Egil Dahlberg
Conflicts: lib/diameter/autoconf/vxworks/sed.general xcomp/README.md
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-08-17Merge branch 'maint'Micael Karlberg
2012-08-01Merge branch 'bmk/snmp/agent/test_case_entry_and_exit_info' into ↵Micael Karlberg
bmk/snmp/snmp4221_integration
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-07-11Merge branch 'bmk/snmp/bad_decode_TimeTicks/maint-r15/OTP-10132' into ↵Micael Karlberg
bmk/snmp/bad_decode_TimeTicks/maint/OTP-10132
2012-07-10Fixed problem with TimeTicks decodeMicael Karlberg
The decoder had a problem with data of type TimeTicks. Also, the handling of invalid values (value out of range) was bad for both TimeTicks and Unsigned32. OTP-10132
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-13[snmp] Fixing test MIB dependencyMicael Karlberg
Some test MIBs depend on each other (imports), which must be defined or parallell make may fail. OTP-9969
2012-03-09[snmp/compiler] More information with augmented tablesMicael Karlberg
The information the MIB compiler provides with augmented tables has been extended with nbr_of_cols, first_accessible and not_accessible. OTP-9969
2012-03-09[snmp/compiler] Add a more up-to-date version of a test mibMicael Karlberg
OTP-9969
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