aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core
Commit message (Collapse)AuthorAgeFilesLines
* Update to ruby/spec@c3e6b90eregon2017-07-2711-464/+292
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Used a fixed seed in Random#rand speceregon2017-07-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * append newline at EOF.svn2017-06-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@abf1700eregon2017-06-2950-258/+695
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use a file under tmp for File.real{,dir}path specs on Windowseregon2017-06-202-4/+16
| | | | | | | * The source file path could have pre-existing symlinks. * See https://github.com/ruby/spec/issues/445. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adapt Time#zone spec to deal with differences of TZ validation on Windowseregon2017-06-191-1/+13
| | | | | | * [Bug #13591] [ruby-core:81347] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@cd1b911eregon2017-06-153-16/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Create the file in the File::TMPFILE spec in its own directoryeregon2017-06-011-3/+5
| | | | | | * Avoids failing the spec if rubyspec_temp is not empty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clean up a bit the Process.setpriority specseregon2017-05-292-25/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Enable Process.setpriority for a single process on more platforms.eregon2017-05-291-22/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Run in separate process/pgrp [Bug #13609]nobu2017-05-291-29/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@2795010eregon2017-05-277-21/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Raise ArgumentError if sprintf format string ends with %eregon2017-05-251-3/+12
| | | | | | | | * Add tests and specs. See ruby/spec#401. Patch by Yuta Iwama and Shintaro Morikawa. [ruby-core:80153] [Bug #13315] [Fix GH-1560] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rubyspec/core/io/popen_spec: avoid lingering "ruby -e sleep" processnormal2017-05-241-2/+6
| | | | | | | | | | | | | | | | | The ruby_cmd helper blindly escapes code blocks passed to it, causing "sleep" to be quoted in the command-line. This quoting results in IO.popen using a subshell (/bin/sh) to run the given string command instead of invoking the Ruby executable directly. Thus, IO.popen would only see the PID of the subshell via IO#pid, and merely sending SIGKILL to the subshell would not result in the child ("ruby -e sleep") being killed. This problem with lingering ruby processes was easier to reproduce on slow or heavily-loaded systems using low-scheduling priority (e.g. "chrt -i 0 make test-rubyspec") git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* source directory may not be writablenobu2017-05-222-6/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* String#casecmp no longer raises TypeErrorstomar2017-05-211-2/+10
| | | | | | * See https://bugs.ruby-lang.org/issues/13312 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use should_receive expectation instead of singleton methodstomar2017-05-211-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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
* 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
* Update to ruby/spec@032022caeregon2017-05-1415-41/+137
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58718 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
* 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
* 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
* * remove trailing spaces, append newline at EOF.svn2017-05-075-3/+5
| | | | 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-072081-0/+102420
* 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