aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/openssl/test_pkcs7.rb: Add tests for PKCS7#type= and add_data.hsbt2014-05-272-0/+146
| | | | | | [Feature #7399][ruby-core:49565] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_hmac.rb (test_binary_update): Added Test forhsbt2014-05-272-0/+14
| | | | | | HMAC signing with UTF-8 String. [Bug #7512][ruby-core:50559] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/runner.rb: fixed randomly test failure.hsbt2014-05-272-0/+6
| | | | | | [Bug #6573][ruby-core:45563] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_timeout.rb (test_timeout): inverted test condition.hsbt2014-05-272-4/+9
| | | | | | [Bug #8523] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/minitest/unit.rb: Show leaked file descriptors.akr2014-05-272-0/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: no error on frozen IOnobu2014-05-273-3/+18
| | | | | | | * io.c (rb_io_fileno, rb_io_inspect): non-modification does not error on frozen IO. [ruby-dev:48241] [Bug #9865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-05-27svn2014-05-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* insns.def: fix typonobu2014-05-262-1/+6
| | | | | | | * insns.def (defineclass): fix typo in the instruction comment. [fix GH-618] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Tempfile.create instead of Tempfile.new.akr2014-05-261-25/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: reduce error messagesnobu2014-05-261-0/+3
| | | | | | * test/lib/test/unit.rb (non_options): reduce same error messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext_conf_builder.rb: fix tempfile leaknobu2014-05-261-1/+1
| | | | | | | * lib/rubygems/ext/ext_conf_builder.rb (build): ensure to remove temporary siteconf script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rdoc: avoid tempfile leaksnobu2014-05-263-6/+6
| | | | | | | | | * test/rubygems/test_gem_package.rb: avoid tempfile leaks by using `Tempfile.create` instead of `Tempfile.open`. * test/rubygems/test_gem_request_set.rb: ditto. * test/rubygems/test_gem_request_set_gem_dependency_api.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rubygems: remove tempfilesnobu2014-05-264-1/+19
| | | | | | | | | | * test/rubygems/test_gem_package_tar_header.rb: remove tempfiles. * test/rubygems/test_gem_package_tar_reader.rb: ditto. * test/rubygems/test_gem_package_tar_reader_entry.rb (teardown): ditto. * test/rubygems/test_gem_package_tar_writer.rb (teardown): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rdoc: avoid tempfile leaksnobu2014-05-263-5/+5
| | | | | | | | | | | | * test/rdoc/test_rdoc_parser.rb (test_class_for_forbidden): avoid tempfile leaks by using `Tempfile.create` instead of `Tempfile.open`. * test/rdoc/test_rdoc_rd_block_parser.rb (test_parse_include_subtree): ditto. * test/rdoc/test_rdoc_rdoc.rb (test_parse_file_encoding): ditto. * test/rdoc/test_rdoc_rdoc.rb (test_parse_file_forbidden): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rdoc: remove tempfilesnobu2014-05-268-8/+14
| | | | | | | | | | | | | * test/rdoc/test_rdoc_encoding.rb (teardown): remove tempfiles. * test/rdoc/test_rdoc_markup_pre_process.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_c.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_changelog.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_markdown.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_rd.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_ruby.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_simple.rb (teardown): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos [ci skip]kazu2014-05-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rinda.rb: revert stop_servicenobu2014-05-261-1/+0
| | | | | | | | * test/rinda/test_rinda.rb (test_take_bug_8215): revert `stop_service` for the time being. need to reset `current_server` to let test/drb work, probably. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rinda.rb: fix leaked threadsnobu2014-05-261-4/+24
| | | | | | * test/rinda/test_rinda.rb: join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_monitor.rb: fix leaked threadsnobu2014-05-261-0/+3
| | | | | | | * test/monitor/test_monitor.rb (test_killed_thread_in_synchronize): join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: inspect locationnobu2014-05-261-1/+13
| | | | | | * thread.c (rb_thread_inspect): show the location of the block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file.rb: skip the test of atime on Windows, becauseusa2014-05-262-0/+8
| | | | | | | | | Windows delays updating atime about 1 hour. see more details: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724290%28v=vs.85%29.aspx git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: preserve encodingnobu2014-05-262-2/+9
| | | | | | | * thread.c (rb_thread_inspect): preserve encoding of the class name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_imap.rb: fix leaked threadsnobu2014-05-261-12/+25
| | | | | | | * test/net/imap/test_imap.rb (imaps_test): join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_http.rb: fix leaked threadsnobu2014-05-261-0/+4
| | | | | | | * test/net/http/test_http.rb (test_timeout_during_HTTP_session): join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby: fix leaked threadsnobu2014-05-261-0/+1
| | | | | | | * test/thread/test_backtrace.rb: join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby: fix leaked threadsnobu2014-05-264-4/+12
| | | | | | | * test/thread/test_{backtrace,beginendblock,proc,threadgroup}.rb: join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/thread: fix leaked threadsnobu2014-05-262-0/+15
| | | | | | | * test/thread/test_{queue,sync}.rb: join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* pty.c: do nothing if terminated alreadynobu2014-05-261-0/+5
| | | | | | | | * ext/pty/pty.c (pty_detach_process): if the child process has terminated already, return immediately without starting a thread to detach it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/Makefile.sub: copy enc/jis/props.hnobu2014-05-261-0/+5
| | | | | | | * win32/Makefile.sub (enc/jis/props.h): nmake needs special rule to copy from the source directory, because it can't handle VPATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* minitest/unit.rb: fix leaking tempfilenobu2014-05-261-2/+2
| | | | | | | * test/lib/minitest/unit.rb (capture_subprocess_io): opened files can not be unlinked on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/optionparser.rbnobu2014-05-263-0/+8
| | | | | | | * lib/optionparser.rb, lib/optparse.rb (OptParse): aliases. [ruby-core:62751] [Feature #9864] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_features.rb: fix up r46123nobu2014-05-261-6/+8
| | | | | | | * test/csv/test_features.rb: no longer `nil` is valid data source for `CSV.new`. [GH-580] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/minitest/unit.rb: Show Finished threads line-by-line.akr2014-05-252-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Reject nil as data source for CSV.new, patch by @Peeja.zzak2014-05-253-0/+15
| | | | | | | [Fixes GH-580] https://github.com/ruby/ruby/pull/580 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Show leaked threads line-by-line.akr2014-05-252-5/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-05-26svn2014-05-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/minitest/unit.rb: Show leaked tempfiles line-by-line.akr2014-05-252-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove tempfiles.akr2014-05-252-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/minitest/unit.rb (MiniTest::Assertions#diff): Removeakr2014-05-252-0/+13
| | | | | | | | tempfiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Avoid tempfile leaks using Tempfile.create instead of Tempfile.open.akr2014-05-252-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_minitest_unit.rb: invoke by array formnobu2014-05-251-2/+2
| | | | | | | * test/minitest/test_minitest_unit.rb (test_capture_subprocess_io): invoke by array form. quoting is not portable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/minitest/unit.rb: Check tempfile leak for each test class.akr2014-05-252-19/+39
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: do not disable ucontext.hnobu2014-05-252-1/+8
| | | | | | | | * configure.in (ac_cv_func_{getcontext,setcontext}): do not disable ucontext.h entirely, but disable use of functions only. `ucontext_t` is necessary in the signal handler now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* signal.c: revert part of r46100nobu2014-05-252-1/+7
| | | | | | | | * signal.c (check_stack_overflow): revert part of r46100, the previous condition was correct, and fix compilation error on other architecture linux. [ruby-core:62746] [Bug #9862] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/minitest/unit.rb: Less ObjectSpace.each_object(Tempfile)akr2014-05-252-5/+11
| | | | | | | | invocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/minitest/unit.rb: Use Thread.list instead ofakr2014-05-252-1/+6
| | | | | | | | ObjectSpace.each_object(Thread). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/ring.rb (Rinda::RingServer#shutdown): Join the killedakr2014-05-252-0/+7
| | | | | | | | threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/utils.rb: Override the inspect method of the threadakr2014-05-252-0/+8
| | | | | | | | used in WEBrick::Utils::TimeoutHandler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl: Join threads.akr2014-05-253-5/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb ↵nagachika2014-05-251-2/+2
| | | | | | | | (test_chown_dir_group_ownership_not_recursive): fix typos on comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e