Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-03 | file_SUITE: Skip large_file test if we fail to query free disk space | John Högberg | |
This may happen if priv_dir is mounted on NFS or similar. | |||
2019-03-29 | file_SUITE: Ignore EILSEQ on Darwin in +fnu/latin1 test | John Högberg | |
There's no way to create the file in question, so we may as well skip the test. | |||
2019-03-22 | erts: Fix incorrect UNC path length calculation | John Högberg | |
This didn't cause any issues for the most part since the path was still properly formed, but it broke down when appending the wildcards in file:list_dir/1. The ASSERT_PATH_FORMAT macro would have caught this in no time, but it went unnoticed because we don't run debug builds on Windows. | |||
2018-10-11 | erts: Fix UNC path handling on Windows | John Högberg | |
This is unlikely to be the last of the path problems seen after OTP 21, and I'm starting to regret my decision to unconditionally use long paths. The idea to hit all long-path problems all the time was good in theory as it makes such bugs far more visible, but there just aren't enough people who test pre-release versions on Windows, making this the world's slowest game of whack-a-mole. | |||
2018-07-18 | Fix node crash on passing bad arguments to file:read_file_info/2 | John Högberg | |
2018-06-18 | Update copyright year | Henrik Nord | |
2018-03-21 | kernel: Restore x-permission of test directories | Sverker Eriksson | |
just to make it easier to do "rm -rf" | |||
2018-03-19 | Fix file:change_group/change_owner | John Högberg | |
It wasn't possible to change group/owner separately, and our test suite lacked coverage for that. ERL-589 | |||
2018-02-05 | kernel: Do not call erlang:get_stacktrace() | Hans Bolinder | |
2017-11-30 | get_cwd/1 on non-existent drives should error out | John Högberg | |
2017-11-30 | Reads that draw from both buffer and file must work | John Högberg | |
2017-11-30 | Volume-relative paths must work on Windows | John Högberg | |
2017-11-30 | Operations on closed raw files should return EINVAL | John Högberg | |
2017-11-30 | Use lexemes/2 instead of the deprecated tokens/2 | John Högberg | |
2017-11-30 | Ensure that trailing slashes are ignored on list_dir | John Högberg | |
2017-11-30 | Ensure that root paths are translated to our preferred form | John Högberg | |
2017-11-30 | Tighten timings in delayed_write | John Högberg | |
The cumulative wait time was as long as the delay itself in the flush-on-size test, causing the test to pass because the write managed to time out. | |||
2017-11-30 | pread/2 must always return a list of results | John Högberg | |
2017-11-30 | Test opening raw files in the same manner as regular ones | John Högberg | |
2017-11-30 | Add microbenchmarks for file:read/2 and file:write/2 | John Högberg | |
2017-11-30 | Account for new behavior in tests that touch prim_file | John Högberg | |
This also hides the module behind ?PRIM_FILE to make testing new implementations less painful. | |||
2017-05-04 | Update copyright year | Raimo Niskanen | |
2017-02-14 | Fixed typos in lib/kernel | Andrew Dryga | |
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-22 | file_SUITE: Test file:write_file/3 | Björn Gustavsson | |
Extend file_SUITE:read_write_file/1 to test file:write_file/3 which was not tested at all. While we are it, remove the superfluous roundtrips tests of term_to_binary/1 and binary_to_term/1. Those BIFs are tested in detail in other test suites (for example, binary_SUITE in emulator_test). | |||
2016-08-25 | Replace usage of deprecated time units | Rickard Green | |
2016-04-13 | Merge branch 'henrik/update-copyrightyear' | Henrik Nord | |
* henrik/update-copyrightyear: update copyright-year | |||
2016-03-30 | file_SUITE: Increase timetrap for large_write/1 | Björn Gustavsson | |
In 9870d22b2401b, the timetrap for large_write/1 was accidentally reduced from the default 30 minutes to only 1 minute. That is not enough for some older computers. | |||
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 | Fix comments | Björn Gustavsson | |
Remove out-commented code. Make sure that comments that are not at the end of a line starts with two '%' characters and not just one. That will become important later when we'll remove all ?line macros and ask Emacs to re-indent 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 test_server:format() | Björn Gustavsson | |
Replace with io:format/2 or ct:pal/3. | |||
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. | |||
2015-12-02 | Merge branch 'maint' | Raimo Niskanen | |
2015-12-02 | Merge branch 'soranoba/fix-file-position/PR-646' into maint | Raimo Niskanen | |
* soranoba/fix-file-position/PR-646: Unify internal error handling Fix file:pread and :pwrite to use character encoding Clean up code for file:position/2 Fix file:position (not raw mode) OTP-13155 | |||
2015-11-26 | Fix file:pread and :pwrite to use character encoding | Raimo Niskanen | |
2015-11-24 | Clean up code for file:position/2 | Raimo Niskanen | |
2015-07-10 | ose: Remove all code related to the OSE port | Lukas Larsson | |
The OSE port is no longer supported and this commit removed it and any changes related to it. The things that were general improvements have been left in the code. | |||
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2015-05-27 | Eliminate use of erlang:now/0 for measuring time | Björn Gustavsson | |
2015-03-14 | Fix file:position (not raw mode) | soranoba | |
When it called the "file:position", it subtract the size that was read into the buffer, and returns the value. However, it has been discarded buffer and correct position is lost, if "file:postion" returns error. | |||
2015-03-10 | kernel: Add test for unicode mode in file | Dan Gudmundsson | |
2014-12-02 | fix eacces spelling | Mikael Pettersson | |
2014-11-25 | kernel: Do not check unsync:ed file size | Lukas Larsson | |
2014-06-28 | Introduce new option 'raw' in file_info functions | Anthony Ramine | |
This option allows the caller not to go through the file server for information about files guaranteed to be local. |