aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* add specs for Unicode-wide case conversions introduced in Ruby 2.4duerst2017-05-194-0/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* improve examples, fix one improbably should_not valueduerst2017-05-191-10/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify r58771.ko12017-05-171-10/+8
| | | | | | | | | * spec/rubyspec/command_line/dash_upper_s_spec.rb: enable tests on vboxsf (VirtualBox shared directory) and change tests to match /success$/ to ignore warnings. This technique is suggested by @unak. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/rubyspec: Add `ruby_version_is` guardk0kubun2017-05-172-4/+28
| | | | | | | | for future backport to ruby/spec repository. See r58772 r58773 r58774. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/rubyspec: Fix rubyspec for tilde unescapek0kubun2017-05-173-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip some tests on vboxsf.ko12017-05-171-7/+13
| | | | | | | * spec/rubyspec/command_line/dash_upper_s_spec.rb: git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ENV["HOME"] is prior as home on Windowsusa2017-05-161-2/+4
| | | | | | | | * spec/rubyspec/core/dir/home_spec.rb: ENV["HOME"] is prior as home on Windows. reported by ko1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Should require at spec file, not fixture fileusa2017-05-162-1/+1
| | | | | | | | | | | | Fixed ERRORs at non-Windows platforms. * spec/rubyspec/library/win32ole/fixtures/classes.rb (require): removed. * spec/rubyspec/library/win32ole/win32ole/ole_get_methods_spec.rb (require): forgotten to require 'win32ole'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Should require WIN32OLEusa2017-05-161-0/+1
| | | | | | | | * spec/rubyspec/library/win32ole/fixtures/classes.rb: should require WIN32OLE here because this file causes NameError in parallel spec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use raise_error blocknobu2017-05-162-7/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mac OS raises EADDRNOTAVAIL but not ECONNREFUSEDnobu2017-05-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Multiple exception classes at raise_errornobu2017-05-161-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Avoid using a class variable in socket specseregon2017-05-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use a reserved port to test for a non-existing TCP servereregon2017-05-162-1/+6
| | | | | | * Avoids a race between finding an available port and another process starting a server on it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* optional/capi: use LIBRUBYARG_SHAREDnobu2017-05-151-1/+3
| | | | | | | * spec/rubyspec/optional/capi/spec_helper.rb (compile_extension): use LIBRUBYARG_SHARED for LDSHARED. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_spec.c: use rb_w32_pipenobu2017-05-151-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io_spec.c: suppress unused-variable warningnobu2017-05-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* optional/capi: fix link on mingwnobu2017-05-151-2/+2
| | | | | | | | * spec/rubyspec/optional/capi/spec_helper.rb (compile_extension): LIBRUBYARG is always necessary unless dynamic lookup is allowed. strip $(DEFFILE) from DLDFLAGS on mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* default.mspec: ignore unavailable FDsnobu2017-05-151-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typonobu2017-05-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@032022caeregon2017-05-1447-172/+254
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/mspec@4b980493eregon2017-05-148-7/+255
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't read non .rb file as a specnaruse2017-05-141-1/+1
| | | | | | To avoid reading `core` file on reading core/ specs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warningnobu2017-05-141-0/+2
| | | | | | | * spec/rubyspec/optional/capi/ext/fixnum_spec.c: suppress unused-but-set-variable warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* The exception raised when exec/spawn unexecutable file on Windows is varioususa2017-05-132-4/+4
| | | | | | | It seems that depend on OS version or filesystem git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove wrong expectationnobu2017-05-131-1/+0
| | | | | | | | * spec/rubyspec/core/kernel/itself_spec.rb: `object_id` may return different objects for each calls, and the expectation of object identity is done by `equal` matcher which uses `equal?` method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* `notepad.exe` does not always exist in `C:\Windows`usa2017-05-121-1/+1
| | | | | | | Use `%WINDIR%\system32\drivers\etc\services` instead of `notepad.exe`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Windows does not know Unix style timezoneusa2017-05-121-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* On LLP64 platform (mswin64), the return value of String#hash is fixnum.usa2017-05-121-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip specs which make non-socket fd nonblocking on Windowsusa2017-05-121-18/+20
| | | | | | | because Windows does not support nonblocking mode except sockets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support bulding the extension on Windowsusa2017-05-121-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unistd.h is only available when HAVE_UNISTD_H is 1usa2017-05-121-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip the spec which uses `fork` on Windowsusa2017-05-121-14/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* The title of "Desktop" may be localizedusa2017-05-121-1/+1
| | | | | | | | | * spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb: the title of "Desktop" may be localized. then, use "System32" because it seems not to be localized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip on Windows because it always failsusa2017-05-121-7/+9
| | | | | | | | On Windows, when invoking ruby via runruby.rb, the pid of invoker and of invokee are diffrent. Therefore, this spec always fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove code old versionsnobu2017-05-121-6/+2
| | | | | | | | | * spec/rubyspec/optional/capi/spec_helper.rb (compile_extension): remove code old versions. `RbConfig::CONFIG["rubyhdrdir"]` is since 1.9, and `RbConfig::CONFIG["rubyarchhdrdir"]` is since 2.0.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support building exts of spec on mswinusa2017-05-121-10/+22
| | | | | | | | * spec/rubyspec/optional/capi/spec_helper.rb: building command of extensions on mswin differs from Unixen's one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use environment values to find ruby and flags instead of an argumenteregon2017-05-102-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use ruby_cmd instead of the RUBY_EXE constant in specseregon2017-05-102-19/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use the Mutex to know whether we entered the signal handler in Process#kill ↵eregon2017-05-101-7/+4
| | | | | | specs git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Process.getpgrp and Process.setsid must be available for Process#kill group ↵eregon2017-05-101-3/+3
| | | | | | specs git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use #system directly with multiple arguments in Process#kill specseregon2017-05-101-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update specs to follow newlines added by r58596eregon2017-05-073-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rename spec/README to spec/README.mderegon2017-05-071-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces, append newline at EOF.svn2017-05-0730-31/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add in-tree mspec and ruby/speceregon2017-05-074644-0/+230678
| | | | | | | | | | | * For easier modifications of ruby/spec by MRI developers. * .gitignore: track changes under spec. * spec/mspec, spec/rubyspec: add in-tree mspec and ruby/spec. These files can therefore be updated like any other file in MRI. Instructions are provided in spec/README. [Feature #13156] [ruby-core:79246] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update README about ruby/speceregon2017-05-071-31/+79
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/default.mspec: only require rbconfig if is it not already.eregon2017-05-071-1/+1
| | | | | | Useful when running spec/mspec/bin/mspec directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use require to load rbconfig in default.mspeceregon2017-04-251-1/+1
| | | | | | * Otherwise it would be loaded twice. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r58478 and r58479 because they do not support not in-place buildko12017-04-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e