aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-07-24Merge branch 'maint'Björn-Egil Dahlberg
2013-07-24Merge branch 'jv/update-io_prompt-type/OTP-11208' into maintBjörn-Egil Dahlberg
* jv/update-io_prompt-type/OTP-11208: Update io:prompt() type
2013-07-24Merge branch 'jv/filelib-types/OTP-11208' into maintBjörn-Egil Dahlberg
* jv/filelib-types/OTP-11208: Update filelib.erl typespecs
2013-07-23Merge branch 'maint'Anders Svensson
2013-07-23Merge branch 'anders/diameter/inappropriate_DWR/OTP-11184' into maintAnders Svensson
* anders/diameter/inappropriate_DWR/OTP-11184: Ensure DWR isn't sent immediately after DWA Comment tweaks
2013-07-22Merge branch 'maint'Björn-Egil Dahlberg
2013-07-22Merge branch 'egil/os_mon/fix-bsd-disksup/OTP-11207' into maintBjörn-Egil Dahlberg
* egil/os_mon/fix-bsd-disksup/OTP-11207: os_mon: Fix openbsd diskspace queries os_mon: Fix freebsd diskspace queries
2013-07-22Merge branch 'maint'Björn-Egil Dahlberg
2013-07-22Merge branch 'egil/test-cuddling' into maintBjörn-Egil Dahlberg
2013-07-22Merge branch 'ts/otp_mibs_fix_type_overflows/OTP-11203'Björn-Egil Dahlberg
* ts/otp_mibs_fix_type_overflows/OTP-11203: [otp_mibs] Add type based integer value truncation/reset. [otp_mibs] Add test suite for range checks and reduction value overflow. [otp_mibs] Update types of applicable MIB objects to 64bit based types.
2013-07-22Merge branch 'maint'Björn-Egil Dahlberg
2013-07-22Merge branch 'sze/to_erl/OTP-11206' into maintBjörn-Egil Dahlberg
* sze/to_erl/OTP-11206: Fix changing terminal parameters in to_erl
2013-07-22Fix changing terminal parameters in to_erlStefan Zegenhagen
One of our devices does not like 'to_erl' to be run over a serial port. When to_erl is started, we see "Attaching to /tm<0xFF>" being printed and the device then refuses to accept any input. Occasionally, we have seen a linux kernel error message "serial8250: too much work for irq16" simultaneously. After some debugging we found out that cause is a call to tcsetattr() by to_erl, immediately preceeded by some printf(). The UART in our device doesn't like hardware parameters to be changed while output is concurrently active. In fact, the GNU libc manual also mentions that it might be dangerous to change UART hardware parameters when a transmission is ongoing. The patch attached to this e-mail changes the behaviour of to_erl to use TCSADRAIN instead of TCSANOW when changing terminal parameters. This makes the serial driver wait for the output queues to be empty before applying the terminal parameter change.
2013-07-21Update filelib.erl typespecsJosé Valim
Most functions in filelib support binaries as arguments but that was not reflected in the typespecs. The types filename_all() and dirname_all() were introduced to mimic file:name_all().
2013-07-21Update io:prompt() typeJosé Valim
Functions that expect an io:prompt() also accept binaries and iolists as arguments. Therefore its type has been updated to reflect the same types accepted by other io functions.
2013-07-19os_mon: Relax disksup_SUITE test even moreBjörn-Egil Dahlberg
Capacity can be zero on certain filesystems. Remove reported mountpoints with zero capacity during tests since these reports false positives.
2013-07-18os_mon: Fix openbsd diskspace queriesBjörn-Egil Dahlberg
Use 'df -k -l' to query OpenBSD about diskspace on local disks. Same reasoning as for FreeBSD - additional filesystems without listing them all.
2013-07-18os_mon: Fix freebsd diskspace queriesBjörn-Egil Dahlberg
Use 'df -k -l' to query FreeBSD about diskspace on local disks. Previously 'df' -k -t ufs' was used but this will not handle zfs disks. Just use '-l' instead of listing potential filesystems.
2013-07-18os_mon: Refactor disksup_SUITEBjörn-Egil Dahlberg
Notably, remove ?line macro.
2013-07-18os_mon: Relax disksup_SUITE api testBjörn-Egil Dahlberg
2013-07-16snmp: Silence debug in testsBjörn-Egil Dahlberg
2013-07-16[otp_mibs] Add type based integer value truncation/reset.Tobias Schlager
This fixes errors when querying e.g. the erlNodeReductions, erlNodeInBytes and erlNodeOutBytes objects in long-running Erlang/OTP systems.
2013-07-16[otp_mibs] Add test suite for range checks and reduction value overflow.Tobias Schlager
2013-07-16[otp_mibs] Update types of applicable MIB objects to 64bit based types.Tobias Schlager
2013-07-15tests: Relax system_profile_SUITE scheduler testBjörn-Egil Dahlberg
2013-07-15tests: Refactor away ?line macroBjörn-Egil Dahlberg
2013-07-15tests: Relax receive_SUITE time constraintBjörn-Egil Dahlberg
2013-07-15Merge branch 'maint'Björn-Egil Dahlberg
2013-07-15Merge branch 'egil/erts/aggregate-system-traceability/OTP-11196' into maintBjörn-Egil Dahlberg
* egil/erts/aggregate-system-traceability/OTP-11196: Check for native code without loading module Fix erlang:system_info(compile_info) Fix system_information get_beam_name/0 Add beam dynamic libraries to system_information Add system_information testsuite Add system information aggregate Refactor away ?line macro in code_SUITE Fix tests for erts app-file Add erts app-file erts: Add cflags, ldflags and config.h into executable
2013-07-15Check for native code without loading moduleBjörn-Egil Dahlberg
2013-07-15Fix erlang:system_info(compile_info)Björn-Egil Dahlberg
Allocation needs to be in correct order.
2013-07-15Fix system_information get_beam_name/0Björn-Egil Dahlberg
os:getenv("EMU") is not set for windows, use "beam" instead.
2013-07-15Add beam dynamic libraries to system_informationBjörn-Egil Dahlberg
2013-07-15Add system_information testsuiteBjörn-Egil Dahlberg
2013-07-15Merge branch 'maint'Micael Karlberg
2013-07-15Merge branch 'maint-r16' into maintMicael Karlberg
2013-07-12Ensure DWR isn't sent immediately after DWAAnders Svensson
Having the peer_fsm process answer DWR meant that watchdog timer expiry could result in an outgoing DWR despite the fact that an incoming DWR was just answered. Having the watchdog process answer avoids this. diameter_peer_fsm must be loaded before diameter_watchdog. It's possible for one incoming DWR to go unanswered but a subsequent DWR will be answered so no harm is done.
2013-07-12Comment tweaksAnders Svensson
2013-07-12Add system information aggregateBjörn-Egil Dahlberg
2013-07-12Merge branch 'maint'Rickard Green
* maint: Fix variable ‘rp_had_locks’ set but not used warning Fix ‘ethr_native_rwlock_destroy’ defined but not used warning Fix 'no previous prototype' warning for dtrace functions Conditionally skip process_SUITE tests that consume large amount of memory
2013-07-12Merge branch 'rickard/warning_fixes' into maintRickard Green
* rickard/warning_fixes: Fix variable ‘rp_had_locks’ set but not used warning Fix ‘ethr_native_rwlock_destroy’ defined but not used warning Fix 'no previous prototype' warning for dtrace functions
2013-07-12Merge branch 'rickard/test_case_fixes' into maintRickard Green
* rickard/test_case_fixes: Conditionally skip process_SUITE tests that consume large amount of memory
2013-07-12Merge branch 'maint'Rickard Green
* maint: Fix configure detection of ethread native atomics on powerpc
2013-07-12Merge branch 'rickard/info/OTP-11196' into maintRickard Green
* rickard/info/OTP-11196: Fix configure detection of ethread native atomics on powerpc
2013-07-12Fix configure detection of ethread native atomics on powerpcRickard Green
2013-07-12Merge branch 'maint'Fredrik Gustafsson
2013-07-12Merge branch 'aw/fix-ftp-report-formatting/OTP-11202' into maintFredrik Gustafsson
* aw/fix-ftp-report-formatting/OTP-11202: Add missing brackets to report formatting on ftp_progress process exit
2013-07-11Refactor away ?line macro in code_SUITEBjörn-Egil Dahlberg
2013-07-11Fix tests for erts app-fileBjörn-Egil Dahlberg
2013-07-11Add erts app-fileBjörn-Egil Dahlberg