Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-01 | kernel: Fix handling of os:cmd option max_size in win | Lukas Larsson | |
2018-01-17 | kernel: Add os:cmd/2 with max_size option | Lukas Larsson | |
2017-06-14 | Update copyright year | Hans Nilsson | |
2017-06-02 | kernel: Iterate for correct time in os_SUITE:perf_counter | Lukas Larsson | |
2016-09-29 | Merge branch 'rickard/time-unit/OTP-13831' | Rickard Green | |
* rickard/time-unit/OTP-13831: Replace usage of deprecated time units | |||
2016-09-05 | Merge branch 'lukas/kernel/os_cmd_fix_stdin_close/OTP-13867' into maint | Lukas Larsson | |
* lukas/kernel/os_cmd_fix_stdin_close/OTP-13867: kernel: Close stdin of commands run in os:cmd | |||
2016-09-02 | kernel: Close stdin of commands run in os:cmd | Lukas Larsson | |
This is needed when running programs that only exit when stdin has been closed, e.g. 'more'. | |||
2016-08-31 | kernerl: Remove infinite loop from testcase | Lukas Larsson | |
We don't want the infinite loop as it leaks after the test finished. | |||
2016-08-25 | Replace usage of deprecated time units | Rickard Green | |
2016-08-16 | erts: Make sure to flush potential exit message | Lukas Larsson | |
2016-08-08 | kernel: Use ^D as eot for os:cmd on unix platforms | Lukas Larsson | |
This is needed as doing only an 'exit' will only exit the program, but any children started in the program that have stdout/stderr still open will keep the port open until they terminate. i.e. os:cmd("while true; do echo sleep 1; sleep 1; done&"). would block os:cmd forever because the while loop keeps its copies of stdout/stderr open forever. It could be argued that this is correct behaviour, and it is the way it works on windows, but changing this breaks backwards compatability for os:cmd which is not acceptable. | |||
2016-03-15 | update copyright-year | Henrik Nord | |
2016-03-10 | Remove ?line macros | Björn Gustavsson | |
While we are it, also re-ident the files. | |||
2016-03-10 | Eliminate use of doc and suite clauses | Björn Gustavsson | |
Those clause are obsolete and never used by common_test. | |||
2016-03-10 | Eliminate use of test_server:sleep/1 | Björn Gustavsson | |
2016-03-09 | Eliminate use of test_server:fail/0,1 | Björn Gustavsson | |
2016-03-09 | Eliminate use of ?config() macro | Björn Gustavsson | |
?config is ugly and not recommended. Use proplists:get_value/2 instead. | |||
2016-03-09 | Modernize timetraps | Björn Gustavsson | |
2016-02-17 | Eliminate use of test_server.hrl and test_server_line.hrl | Bjö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. | |||
2016-02-02 | erts, kernel: Add os:perf_counter function | Lukas Larsson | |
The perf_counter is a very very cheap and high resolution timer that can be used to timestamp system events. It does not have monoticity guarantees, but should on most OS's expose a monotonous time. A special instruction has been created for this counter to further speed up fetching it. OTP-12908 | |||
2015-12-15 | kernel: Remove cmd server for unix os:cmd | Lukas Larsson | |
Since we no longer to vfork in the emulator there is no need to serialize the os:cmd calls through a central command server. This greatly decreases the complexity of this code and should make it fast+more scalable. OTP-13089 | |||
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2013-06-03 | kernel: Handle unicode in os:cmd | Dan Gudmundsson | |
Allow unicode strings in os:cmd and try to convert the result bytes to unicode list. Also test it. | |||
2013-05-02 | Add testcase to exported | Fredrik Gustafsson | |
2013-04-30 | kernel: redefined deep_list_command test | Fredrik Gustafsson | |
2013-04-30 | Remove unnecessary whitespaces in os.erl and os_SUITE.erl | Aleksandr Vinokurov | |
Conflicts: lib/kernel/test/os_SUITE.erl | |||
2013-04-30 | Fix deep list argument error under Windows in os:cmd/1 | Aleksandr Vinokurov | |
Because of leeway in implementing os:cmd/1 under different OS there is a difference in results when calling it with deep list argument. os:cmd/1 specifies io_lib:chars() type for its argument and io_lib functions can produce deep lists inspite of io_lib:chars() result type specification. This commit flattens the argument for erlang:open_port/2 (which is used under Windows) and expands the os_SUITE to regress the bug. | |||
2013-01-25 | Update copyright years | Björn-Egil Dahlberg | |
2012-07-19 | kernel: Remove VxWorks from tests | Björn-Egil Dahlberg | |
2011-12-07 | Teach os_SUITE:space_in_name to quote correctly on Windows | Patrik Nyblom | |
2011-02-24 | Merge branch 'bjorn/fix-os_find_executable/OTP-8983' into dev | Björn Gustavsson | |
* bjorn/fix-os_find_executable/OTP-8983: Never allow os:find_executable/1 to return the path of directories | |||
2011-02-17 | Rename Suite Callback to Common Test Hook | Lukas Larsson | |
2011-02-17 | Fix formatting for kernel | Lukas Larsson | |
2011-02-17 | Add init_per_suite and end_per_suite | Lukas Larsson | |
2011-02-17 | Add ts_install_scb to suite/0 | Lukas Larsson | |
2011-02-17 | Update kernel tests to conform with common_test standard | Lukas Larsson | |
2011-02-14 | Never allow os:find_executable/1 to return the path of directories | Björn Gustavsson | |
2010-11-30 | Corrected testcases broken by unicode filenames | Patrik Nyblom | |
Also corrected type-info for bifs | |||
2010-06-02 | Teach os.erl to find executable names with extension (i.e. .exe) on windows | Patrik Nyblom | |
2010-03-10 | OTP-8502 os:cmd hang | Rickard Green | |
A race condition in os:cmd/1 could cause the caller to get stuck in os:cmd/1 forever. | |||
2010-01-31 | Merge branch 'bg/cleanup-tests' into ccase/r13b04_dev | Erlang/OTP | |
* bg/cleanup-tests: file_SUITE: eliminate a warning for an unused variable kernel tests: modernize guard tests unicode_SUITE: replace deprecated concat_binary/1 with list_to_binary/1 stdlib tests: modernize guard tests Test suites: fix creation of Emakefiles | |||
2010-01-29 | kernel tests: modernize guard tests | Björn Gustavsson | |
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |