Nobuyoshi Nakada
e954be14d0
Get rid of false positive misspellings
...
[Bug #16437 ]
2019-12-24 10:33:32 +09:00
NAKAMURA Usaku
204dc3f39f
Revert "Should return "." for File.extname("file.") also on Windows"
...
We want to introduce consistency and better compatibility with unixen,
but the Windows APIs doues not have consistency fundamentally and
we can not found any logical way...
This reverts commit 61aff0cd18
.
2019-12-23 11:54:25 +09:00
NAKAMURA Usaku
61aff0cd18
Should return "." for File.extname("file.") also on Windows
...
But not changes another cases, such as "file.rb."
[Bug #15267 ]
2019-12-22 02:42:09 +09:00
Nobuyoshi Nakada
db16629008
Fixed misspellings
...
Fixed misspellings reported at [Bug #16437 ], only in ruby and rubyspec.
2019-12-20 09:32:42 +09:00
Benoit Daloze
1243255c3a
Update to ruby/spec@4eec3dc
2019-11-30 21:26:52 +01:00
Benoit Daloze
664e96b1de
Update to ruby/spec@28a728b
2019-10-26 20:53:01 +02:00
Nobuyoshi Nakada
e169ad93f4
Fixed File.extname at a name ending with a dot
...
File.extname now returns a dot string at a name ending with a dot.
[Bug #15267 ]
2019-10-17 18:51:51 +09:00
Benoit Daloze
070cbe22b7
Update to ruby/spec@34e6246
2019-09-29 19:13:37 +02:00
Benoit Daloze
1c938a72aa
Update to ruby/spec@519df35
2019-09-29 16:03:58 +02:00
David Rodríguez
2a166cfea2
Add File.absolute_path?
( #2198 )
...
In order to check whether a path is absolute or not in a portable way.
[Feature #15868 ]
2019-09-05 20:00:50 +09:00
Benoit Daloze
5c276e1cc9
Update to ruby/spec@875a09e
2019-07-27 12:40:09 +02:00
Nobuyoshi Nakada
cd069df365
File::Stat uses Time#inspect
2019-07-11 19:46:11 +09:00
Benoit Daloze
d80e44deec
Update to ruby/spec@8d74d49
2019-06-27 21:02:36 +02:00
Nobuyoshi Nakada
b632566d33
UNIX domain socket name length has a certain limit
2019-05-31 16:32:27 +09:00
Benoit Daloze
a66bc2c011
Update to ruby/spec@9a501a8
2019-05-28 22:41:48 +02:00
Benoit Daloze
79671ec57e
Update to ruby/spec@7de852d
2019-04-28 23:20:11 +02:00
Benoit Daloze
0d227d1ce6
Try to more accurately reflect MRI's logic in specs for finding the home if $HOME is unset
2019-04-27 19:42:54 +02:00
Benoit Daloze
5b93321064
Update to ruby/spec@14e6148
2019-04-27 19:23:45 +02:00
Benoit Daloze
a1b4816759
Update to ruby/spec@15c9619
2019-04-27 18:53:23 +02:00
eregon
a28aa80c73
Update to ruby/spec@e81b3cd
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-28 14:22:29 +00:00
k0kubun
41d36d2ce2
Skip EBADF spec in MJIT test for now
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-27 13:31:36 +00:00
nobu
b9357e4d1b
File#birthtime depends on the kernel version on Linux
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-22 06:07:30 +00:00
eregon
da7976235f
Update to ruby/spec@7a16e01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-21 15:38:59 +00:00
nobu
c3e0244efe
Revise the example on OpenBSD
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-20 08:09:32 +00:00
ko1
8ed1709616
fix rubyspec test to pass tests. please revisit it @nobu?
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-20 07:46:15 +00:00
eregon
75334db3c6
Update to ruby/spec@6cf8ebe
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-07 16:35:33 +00:00
eregon
6204e0804b
Update to ruby/spec@35a9fba
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-20 20:38:57 +00:00
eregon
7f54f1b554
Update to ruby/spec@2d89e48
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-30 00:05:56 +00:00
eregon
2076c2c3c4
Update to ruby/spec@944ea57
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 00:22:52 +00:00
naruse
23ff1abc9c
Same as r66334 add Errno::EISDIR
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 10:55:07 +00:00
naruse
7ea31367bb
Use Dir.home to avoid platform dependency
...
On Solaris 10, `echo ~#{ENV['USER']}` As expected
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-04 00:40:48 +00:00
naruse
35d7ae85ee
Use /bin/echo instead of shell builtin echo
...
builtin echo of Solaris 10's sh doesn't expand `~`.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10x/ruby-trunk/log/20181203T061807Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-03 09:55:05 +00:00
eregon
50441014ff
Update to ruby/spec@cdd6ff7
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 20:38:57 +00:00
eregon
b46da8d84e
Update to ruby/spec@4bb0f25
...
* Specs added by TruffleRuby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-13 21:58:54 +00:00
eregon
4fbb9aa3cb
Update to ruby/spec@6f38a82
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-28 19:50:06 +00:00
nobu
36b6f5cc12
use requrie_relative
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-31 11:11:31 +00:00
nobu
16c0e1711c
use require_relative
...
* spec/ruby/core/file/ftype_spec.rb: use require_relative which
resolves symbolic links consistently to git rid of constant
re-definition warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-31 10:34:16 +00:00
nobu
40e9437267
file_types.rb: use the current terminal device
...
* spec/ruby/core/file/fixtures/file_types.rb (configure_types):
try the current standard input terminal device first to get rid
of a race condition. other terminal devices may be used by
other processes and disposed during the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-31 06:05:04 +00:00
eregon
401b64c4e8
Update to ruby/spec@c1b568b
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-04 15:09:32 +00:00
ko1
68e2a2e5ce
skip EINVAL on unsupported platform
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-30 02:21:59 +00:00
eregon
3fa5bd38af
Update to ruby/spec@83063a3
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-29 16:08:16 +00:00
eregon
b101d2c2b1
Group related File.umask specs together
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-25 09:50:41 +00:00
eregon
7dc0bdb6e5
Remove specs trying arbitrary values for chmod and umask
...
* Instead assert that too large values raise RangeError.
* [Bug #14375 ] [ruby-core:84933]
* See https://github.com/ruby/ruby/pull/1797
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-25 09:50:29 +00:00
naruse
c151679cc3
r61950 changes mode_t to ushort on FreeBSD and Darwin
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-19 18:55:32 +00:00
mame
205f0dcf3a
spec/: skip some specs so that no failure occurs in root privilege
...
Follow up of r61757, This change makes `sudo make test-spec` pass on my
machine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-10 13:30:25 +00:00
eregon
a34db218ad
Update to ruby/spec@0fe33ac
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-27 16:12:47 +00:00
eregon
30ed82e772
Update to ruby/spec@595645f
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-15 17:44:37 +00:00
eregon
4d7b0b9112
Update to ruby/spec@bacedc5
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-01 15:41:50 +00:00
eregon
8c5b60eb22
Update to ruby/spec@a6b8805
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-28 15:15:48 +00:00
eregon
1d15d5f080
Move spec/rubyspec to spec/ruby for consistency
...
* Other ruby implementations use the spec/ruby directory.
[Misc #13792 ] [ruby-core:82287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-20 20:18:52 +00:00