summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-io/test/file.rb
AgeCommit message (Collapse)Author
2020-09-13Add test to ensure #5077Yukihiro "Matz" Matsumoto
2020-04-29Avoid changing directory in `mruby-io` testKOBAYASHI Shuji
2019-12-14Implement `File#size` and `File#truncate`dearblue
2019-08-24Create a symbolic link in the temporary directory; fix #4642dearblue
Because the linker gives a warning on FreeBSD 12.0. ``` warning: mktemp() possibly used unsafely; consider using mkstemp() ```
2019-08-18Make symbolic link names unique for testdearblue
2019-05-07Refactor `mrb_str_to_cstr` and `mrb_string_value_cstr`KOBAYASHI Shuji
- Extract null byte check to function. - Avoid string allocation if null byte is included. - Use `str_new` instead of `mrb_str_dup` + `mrb_str_modify`
2019-04-29Fix missing assertions in `mruby-io` testKOBAYASHI Shuji
2019-02-26Remove unneeded `const_defined?(:Time)` in `mruby-io` testKOBAYASHI Shuji
`mruby-time` is included in test dependencies.
2019-01-27Remove no meaning statements in `mruby-io` testsKOBAYASHI Shuji
2019-01-25Use assertion methods in `File` testKOBAYASHI Shuji
2019-01-09Use `$mrbtest_io_wfname` for `chmod` test.Yukihiro "Matz" Matsumoto
2018-08-13Try to fix a fragile `File#mtime` test.Yukihiro "Matz" Matsumoto
2018-06-20Use temporary name for `File#mtime` test to avoid conflicts.take-cheeze
2018-01-30add File#mtimeYasuhiro Matsumoto
2017-12-12Fixed mruby-io test failure on Windows platform.Hiroshi Mimaki
2017-12-09`File.symlink` may not be implemented on some platforms; ref #3877Yukihiro "Matz" Matsumoto
2017-12-09Skip "File.readlink fails" test on MSVCbamchoh
When MSVC, "File.readlink fails with non-symlink" test was failed even if raising NotImplementedError
2017-12-07Add 'mrbgems/mruby-io/' from commit '3c8e1f94c44252c836f79a48bb17726da28e2756'Yukihiro "Matz" Matsumoto
git-subtree-dir: mrbgems/mruby-io git-subtree-mainline: 10ed730e4bd921cf4d8fe6f6d2e3cb3f0840f3b7 git-subtree-split: 3c8e1f94c44252c836f79a48bb17726da28e2756