aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
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-29[snmp/agent] Mib data tttn commentsMicael Karlberg
2013-05-29[snmp/agent] Moved agent config type definition to main agent interface moduleMicael Karlberg
2013-05-28[snmp/agent] Corrected the mib_storage typeMicael Karlberg
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 version and release notesMicael Karlberg
OTP-11009
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-28[snmp] Some cosmetic cleanup (tmp verbosity printouts commented)Micael Karlberg
OTP-11009
2013-05-28[snmp] Use of new crypto interface correctd in managerMicael Karlberg
Added a common utility function (in the snmp_misc module) for testing for crypto support (sed both by the manager and agent code). OTP-11009
2013-05-28[stdlib] Updated for snmp deprecationsMicael Karlberg
2013-05-28[snmp/agent] Updated deprecated attributeMicael Karlberg
2013-05-28Merge branch 'avi/fix-os-cmd-win/OTP-11104' into maintFredrik Gustafsson
* avi/fix-os-cmd-win/OTP-11104: Add testcase to exported Added primary bootstrap for os.beam kernel: redefined deep_list_command test Remove unnecessary whitespaces in os.erl and os_SUITE.erl Fix deep list argument error under Windows in os:cmd/1
2013-05-28Merge branch 'ia/ssl/public_key/crypto/elliptic_curve/OTP-11009' into maintIngela Anderton Andin
* ia/ssl/public_key/crypto/elliptic_curve/OTP-11009: (21 commits) ssl: Do not advertise EC ciphers if crypto support is insufficient crypto: Ctify tests and test new API crypto: Allow integer as srp_private arguments according to docs ssl: Remove unused `srp_parameters` type spec crypto, public_key & ssl: Make more functions accept integer keys snmp: Remove use of deprecated crypto functions crypto,ssh, netconf, inets: binary_to_integer -> bytes_to_integer netconf: Remove use of deprecated crypto functions crypto: Documentation fixes from review crypto: Change argument order of crypto:next_iv/3 crypto,public_key,ssl: Change return value of crypto:generate_key(ecdh,..) ssl, public_key, crypto: crypto:algorithms/0 -> crypto:supports/0 ssl, public_key & inets: Remove use of deprecated crypto functions from test code ssl: Remove use of deprecated crypto functions public_key: Remove use of deprecated crypto functions dialyzer: Remove use of deprecated crypto functions ssh & crypto: Remove use of deprecated crypto functions from ssh Update primary bootstrap common_test: Replace use of deprecated crypto functions beam_lib, compile: Replace use of deprecated crypto functions ...
2013-05-28ssl: Do not advertise EC ciphers if crypto support is insufficientIngela Anderton Andin
2013-05-27crypto: Ctify tests and test new APIIngela Anderton Andin
Also fix bugs found by new tests
2013-05-27Merge branch 'siri/ct_telnet/no-more-after-timetrap/OTP-10648' into maintSiri Hansen
* siri/ct_telnet/no-more-after-timetrap/OTP-10648: [common_test] Unregister connection if killed
2013-05-24crypto: Allow integer as srp_private arguments according to docsSverker Eriksson
2013-05-24ssl: Remove unused `srp_parameters` type specKlaus Trainer
As the file 'lib/ssl/src/ssl_srp_primes.hrl' only contains a specification of a `srp_parameters` type that isn't exported and also isn't referenced anywhere (neither in the code nor in the documentation), the type specification (and hence the file as well) can be removed.
2013-05-24crypto, public_key & ssl: Make more functions accept integer keysSverker Eriksson
2013-05-24snmp: Remove use of deprecated crypto functionsIngela Anderton Andin
2013-05-24[common_test] Unregister connection if killedSiri Hansen
The symptom of this bug was that a (named) telnet connection which was open and hanging during a timetrap timeout could no longer be opened again in subsequent test cases. Since the connection was hanging, ct_telnet:close/1 which was called during end_per_testcase would fail (timeout) and cause common_test to brutally kill the connection. The bug was that the connection was not unregistered at this point. When trying to open the connection again in the next testcase, common_test attempted to reuse the same connection since it had not been unregistered. This failed since the connection in fact was dead.
2013-05-24[snmp/agent] Some restructuring and some new test cases of mib-server suiteMicael Karlberg
2013-05-24[snmp/agent] Improved mib-storage ets module error handlingMicael Karlberg
Also fixed some of the debug printouts.
2013-05-24Merge branch 'nox/fix-silent-rules/OTP-11111' into maintFredrik Gustafsson
* nox/fix-silent-rules/OTP-11111: Fix some Makefile rules that didn't support silent rules
2013-05-23[snmp/agent] Make the mib-server test (sub-) suite use new mib-storageMicael Karlberg
2013-05-23[snmp/agent] Handle mib-storage ets module non-ex fileMicael Karlberg
Make sure snmpa_mib_storage_ets can handle a non-ex file whe n openning a table (it should simply create it).
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] Updated open options for the mnesia mib-storage moduleMicael Karlberg
Updated the snmpa_mib_storage_mnesia module to handle alias atoms for the nodes option. Also, (git) added mib-storage behaviour ref-man.
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-23[snmp/agent] Updated the config tool with new mib-storage formatMicael Karlberg
2013-05-23[snmp/agent] Add more verbosity printouts to the mnesia mib-storage moduleMicael Karlberg
2013-05-22[snmp/agent] CosmeticMicael Karlberg
2013-05-22[snmp/agent] No default value for mib_storage and some cleanupMicael Karlberg
2013-05-22[snmp/agent] Add info/2 and some record checksMicael Karlberg
Add a new function/2 to behaviour. Also changed returnj type for info/1. Also make sure even ets and dets implementation(s) check that the correct type is written.
2013-05-22[snmp/agent] Make use of new mib_storageMicael Karlberg
The new mib-storage is now used by both the mib-server and the symbolic-store.
2013-05-22[snmp/agent] Mib server assumes no default value for mib_storageMicael Karlberg
2013-05-22[snmp/agent] Add default value for mib_storage for sub-agentMicael Karlberg
When starting a sub-agent we previously did not provide a value for mib_storage, which was alright because ets was assumed as a default in every place where it was used. Now we expect the value to be defined and therefor we must explicitly add the default value for sub-agents when staring them.
2013-05-22[snmp/agent] Deprecate *old* info conversion functionMicael Karlberg
2013-05-22[snmp/agent] Removed module from app-file and make file(s)Micael Karlberg
The module snmpa_general_db is no longer used (replaced by the behaviour snmpa_mib_storage and the modules implementing this behaviour).
2013-05-22crypto,ssh, netconf, inets: binary_to_integer -> bytes_to_integerIngela Anderton Andin
2013-05-21Merge branch 'siri/ct/no_prompt_check/OTP-11095' into maintSiri Hansen
* siri/ct/no_prompt_check/OTP-11095: [common_test] Refactor ct_telnet_SUITE.erl [common_test] Add new option 'no_prompt_check' to ct_telnet:expect/3. [common_test] Add debug printouts in ct_telnet_client [common_test] Backed out wait_for_linebreak option from ct_telnet [common_test] Add test for ct_telnet using own telnet server [common_test] Add telnet server to use for testing
2013-05-21[snmp/agent] Add mib-storage behaviour ref-man documentationMicael Karlberg
2013-05-21[snmp/agent] backupMicael Karlberg
2013-05-21[snmp/agent] Some mib-server options rewordingMicael Karlberg
2013-05-21[snmp/agent] Add (make) deepend for the new mib-server data moduleMicael Karlberg
Add (make) depend rule for the new mib-server data module, snmpa_mib_datas_tttn. Also corrected the depend rule for the mib-server data module behaviour module (snmpa_mib_data).
2013-05-21[snmp/agent] Make sure main api module is compiled firstMicael Karlberg
The main snmp agent api module contains some basic type defs and therefor it must be compiled first.
2013-05-21[snmp/agent] Fixed copyright end dateMicael Karlberg