aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-10-01Merge branch 'bjorn/erts/crash-dump-fix'Björn Gustavsson
* bjorn/erts/crash-dump-fix: Fix missing information in crash dump for native-compiled modules
2012-10-01Merge branch 'bjorn/test_server/dialyzer-fixes'Björn Gustavsson
* bjorn/test_server/dialyzer-fixes: test_server_ctrl: Don't use undocumented features of io:format() Fix obsolete assumption for the return type of os:type/0
2012-09-28[common_test] Added tests and corrected bugs in ct_snmpSiri Hansen
OTP-10454 OTP-10434 Function register_users/2, register_agents/2 and register_usm_users/2, and the corresponding unregister_*/1 functions were not executable. These are corrected/rewritten. Function update_usm_users/2 is removed, and an unregister function is added instead. Update can now be done with unregister_usm_users and then register_usm_users. Functions unregister_*/2 are added, so specific users/agents/usm users can be unregistered. Function unload_mibs/1 is added. Overriding configuration files did not work, since the files were written in priv_dir instead of in the configuration dir (priv_dir/conf). This has been corrected. Minor updates to documentation.
2012-09-28Merge branch 'hb/stdlib/opaque_warnings/OTP-10436'Hans Bolinder
* hb/stdlib/opaque_warnings/OTP-10436: Refine a few opaque types Warn for underspecified opaque types Warn for opaque types that are not exported
2012-09-27Merge branch 'hb/dialyzer/nowarn_unused_fun/OTP-10433'Hans Bolinder
* hb/dialyzer/nowarn_unused_fun/OTP-10433: dialyzer: Do not output warnings for unused funs
2012-09-27Merge branch 'dgud/ct/fix-trashed-logs/OTP-10369'Dan Gudmundsson
* dgud/ct/fix-trashed-logs/OTP-10369: [ct] Shorten testcase names Shorten testcase names [ct] Block output into single io call
2012-09-27Merge branch 'ia/ssl/npn/OTP-10361'Ingela Anderton Andin
* ia/ssl/npn/OTP-10361: ssl: Shorten test case names to workaround ct shortcomings on windows ssl: SSL 3.0 does not support next protocol negotiation ssl: Dialyzer fixes and code cleaning ssl: Changed default behaviour of next protocol negotiation to make more "sense" (be true to the specification). ssl: Update SSL docs for SSL Next Protocol Support ssl: Support for SSL Next Protocol Negotiation * http://technotes.googlecode.com/git/nextprotoneg.html
2012-09-27Refine a few opaque typesHans Bolinder
2012-09-26Warn for underspecified opaque typesHans Bolinder
2012-09-26Warn for opaque types that are not exportedHans Bolinder
2012-09-26test_server_ctrl: Don't use undocumented features of io:format()Björn Gustavsson
The Format string argument for io:format/3 is not documented to accept an iolist, so we should not depend on it. Fix the problem by using io:put_chars/2 instead.
2012-09-26Remove the useless test_server_line_SUITE test suiteBjörn Gustavsson
The test_server_line parse transform module was removed in R15 (in f43c0a51cd15b2b0f8adba4bb9ec5531dd9d8820), but not the corresponding test cases. (Strangely enough, the test cases did not fail; it was because init_per_testcase/2 failed and the corresponding test case was skipped.)
2012-09-26test_server_SUITE: Remove the undefined_functions/1 test caseBjörn Gustavsson
The undefined_functions/1 test case will fail if it is run using an uninstalled Erlang/OTP system (i.e. in a source tree/git repository). Since the test_server application is now a part of Erlang/OTP (it was not originally), the system-wide test case that looks for use of undefined functions will catch undefined functions. Therefore the easiest solution is to remove the test case.
2012-09-26ssl: Shorten test case names to workaround ct shortcomings on windowsIngela Anderton Andin
2012-09-26Merge branch 'siri/reltool/spawn_executable/OTP-10358'Siri Hansen
* siri/reltool/spawn_executable/OTP-10358: [reltool] Use spawn_executable instead of spawn when starting nodes in test
2012-09-26[ct] Shorten testcase namesDan Gudmundsson
So it works on windows otherwise crashes the testrun when path is longer than 255 chars.
2012-09-26Merge branch 'ia/ssl/reuse_session_expired-test'Ingela Anderton Andin
* ia/ssl/reuse_session_expired-test: ssl: Adopt test case to not take so long
2012-09-26Merge branch 'ia/ssh/empty-binary/OTP-9478'Ingela Anderton Andin
* ia/ssh/empty-binary/OTP-9478: ssh: Will not hang if you attempt to send empty binary
2012-09-26Fix missing information in crash dump for native-compiled modulesBjörn Gustavsson
In the erl_crash.dump file, native-compiled modules did not have any information about attributes and compilation. The problem is that the code:make_stub_module/3 BIF (which is internally used when native code is loaded) did not copy the size field the attribute and compilation info chunks. Those size fields are only used when writing crash dumps.
2012-09-26[os_mon] Remove call to deprecated/undefined functions in snmpSiri Hansen
Also, rewrite test suite (os_mon_mib_SUITE) to use ct_snmp intead of using snmp application directly.
2012-09-26Merge branch 'bjorn/common_test/dialyzer-fixes'Björn Gustavsson
* bjorn/common_test/dialyzer-fixes: ct_master_logs: Don't use io:format/3 with an empty variable list common_test: Don't use undocumented features of io:format()
2012-09-26Fix a crash in race condition detectionStavros Aronis
Analysis is not always able to find the variable labels and names for any kind of arguments passed to the ets module functions.
2012-09-26Remove old untested experimental extensionStavros Aronis
This extension allowed minimal detection of race conditions that were passing through behaviour API calls, but had no tests in any suite and also caused a crash in R15B02.
2012-09-26Respect {plt_check,false} option when using dialyzer:run/1Stavros Aronis
2012-09-26Fix handling of tuple set remote types appearing in tuple setsStavros Aronis
Originally reported by Joseph Wayne Norton, simplified testcase provided by Hans Bolinder.
2012-09-26Fix obsolete assumption for the return type of os:type/0Björn Gustavsson
os:type/0 could (a long, long time ago) return atoms such as 'vxworks' instead of a two-tuple.
2012-09-25Merge branch 'egil/r16/strengthen-buffer-copies'Björn-Egil Dahlberg
* egil/r16/strengthen-buffer-copies: Replace sprintf with erts_snprintf in beam Replace sprintf with erts_snprintf in epmd Replace sprintf with erts_snprintf in inet_gethost
2012-09-25Merge branch 'maint'Björn-Egil Dahlberg
2012-09-25Merge branch 'egil/fix-configure-openbsd/OTP-10395' into maintBjörn-Egil Dahlberg
* egil/fix-configure-openbsd/OTP-10395: Fix linking of shared libraries on OpenBSD
2012-09-25Merge branch 'maint'Björn-Egil Dahlberg
2012-09-25Merge branch 'egil/fix-missing-modules-app/OTP-10439' into maintBjörn-Egil Dahlberg
* egil/fix-missing-modules-app/OTP-10439: tools: Add missing lcnt module to .app.src percept: Add missing modules to .app.src
2012-09-25Shorten testcase namesDan Gudmundsson
Crashes on windows XP otherwise path > 256..
2012-09-25ssl: Adopt test case to not take so longIngela Anderton Andin
2012-09-24ssh: Will not hang if you attempt to send empty binaryIngela Anderton Andin
2012-09-24[reltool] Use spawn_executable instead of spawn when starting nodes in testSiri Hansen
In order to handle paths with space, spawn_executable is now used instead of spawn when starting nodes with open_port/2 in reltool_server_SUITE.
2012-09-24Merge branch 'siri/common_test/undefined-snmp-funcs/OTP-10088'Siri Hansen
* siri/common_test/undefined-snmp-funcs/OTP-10088: [common_test] Moved ct_snmp_SUITE into data dir and run as other ct tests [common_test] Updated (minimized) config for ct_snmp test after fixing bugs [common_test] Use ct_snmp 'agent_vsns' config value in snmp app config [common_test] Change NotifType to atom instead of string [common_test] Remove calls to undefined functions from ct_snmp [common_test] Add minor test suite for ct_snmp Conflicts: lib/common_test/test/Makefile
2012-09-24dialyzer: Do not output warnings for unused funsHans Bolinder
Dialyzer no longer outputs warnings for unused anonymous functions ("funs"). Warnings are still output for unused functions. Funs in functions with -nowarn_unused_function attributes generated warnings for unused functions. Unused list comprehensions also generated warnings for unused funs.
2012-09-23Export ets:match_pattern/0 typeJoseph Wayne Norton
Similar to match specification, some of the ets functions uses a match pattern. Export the match pattern type to allow for inclusion in the types and function specifications of other modules.
2012-09-21ssl: SSL 3.0 does not support next protocol negotiationIngela Anderton Andin
Also shorten test cases names to workaround test framework problems on windows
2012-09-21Merge branch 'siri/reltool/misc-bugs/OTP-10012'Siri Hansen
* siri/reltool/misc-bugs/OTP-10012: [reltool] Use application name from .app file instead of directory name [reltool] Keep order from rel spec when sorting used and included applications [reltool] Automatically add included applications in rel file [reltool] Make reltool:install/2 work on windows [reltool] Allow incl_cond=derived on module level
2012-09-21[common_test] Moved ct_snmp_SUITE into data dir and run as other ct testsSiri Hansen
2012-09-21[common_test] Updated (minimized) config for ct_snmp test after fixing bugsSiri Hansen
Bugs reported in OTP-10432 allowed the config for ct_snmp test to specify only one version for agent and manager.
2012-09-21[common_test] Use ct_snmp 'agent_vsns' config value in snmp app configSiri Hansen
OTP-10432 Config parameter 'agent_vsns' in ct_snmp was ONLY used in call to snmp_config:write_agent_snmp_files. There it is only used for deciding if usm config shall be written (if v3 is included) or not. The value of 'agent_vsns' was NOT added to the snmp application's agent configuration, so the snmp application's own default value would be used - this is [v1,v2,v3]. The result was that if v3 was not included in 'agent_vsns', then usm.conf was not written, but when starting the agent it would complain that this file did not exist since snmp's default versions are all [v1,v2,v3]. This has been corrected - the 'agent_vsns' value is now inserted in the snmp application agent configuration as {versions,AgentVsns}.
2012-09-21[common_test] Change NotifType to atom instead of stringSiri Hansen
OTP-10432 In call to snmp_config:write_agent_snmp_files, the NotifType argument was earlier a string. This has been changed to an atom since it failed in snmp application and notify�conf was not created.
2012-09-21[reltool] Use application name from .app file instead of directory nameSiri Hansen
In the first traversal of library directories, reltool used only the directory names in order to figure out application names. This would succeed if the directory name was AppName only or AppName-AppVsn and AppVsn consisted of integers separated by dots only. If the AppVsn has any other format, then reltool would not find the correct application name. With this commit, reltool will first look for a .app file and use the .app file name as the application name. This will allow different formats of the version identifier in the directory name. Note that reltool can still not sort (and select the latest) amongst version identifiers of other format than integers separated by dots.
2012-09-20[common_test] Remove calls to undefined functions from ct_snmpSiri Hansen
2012-09-20[common_test] Add minor test suite for ct_snmpSiri Hansen
2012-09-20ssl: Dialyzer fixes and code cleaningIngela Anderton Andin
Types in a record where wrongly type specified, did not include undefined. Make them comments for now, maybe we will specify internal records with dialyzer types later, but as the other record fields are not specified at the moment, with dialyzer types, make the code consistent.
2012-09-20ssl: Changed default behaviour of next protocol negotiation to makeIngela Anderton Andin
more "sense" (be true to the specification).
2012-09-20ssl: Update SSL docs for SSL Next Protocol SupportBen Murphy