summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-05-27* test/rexml/test_contrib.rb: Indent.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27use Socket.getifaddrs to show interface names and so onnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* test/rexml/: Use REXMLTests as wrapping module for REXML tests.kou
I avoid using the same module for library in test because it provides "include REXML" environment in test. Normally, users don't use REXML on "include REXML" environment. So I don't want to write tests on "include REXML" environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* test/rexml/test_comment.rb: Remove needless REXML module wrapping.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* test/openssl/test_pkcs7.rb: Fix inverted expected and actual values.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* test/ruby/test_io.rb (test_flush_in_finalizer1): some opened fds areusa
remain before GC, so unlink the tempfile is failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27Wrap REXML test classes by REXML module.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* io.c (rb_io_autoclose_p): Don't raise on frozen IO.akr
* test/lib/minitest/unit.rb: IO#autoclose? may raise IOError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* test/openssl/test_pair.rb: Modify TestSSL#test_read_and_writehsbt
to handle partial sysreads. [Bug #7398][ruby-core:49563] * test/openssl/test_ssl.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* test/openssl/test_pkcs7.rb: Add tests for PKCS7#type= and add_data.hsbt
[Feature #7399][ruby-core:49565] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* test/openssl/test_hmac.rb (test_binary_update): Added Test forhsbt
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
2014-05-27* test/runner.rb: fixed randomly test failure.hsbt
[Bug #6573][ruby-core:45563] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* test/test_timeout.rb (test_timeout): inverted test condition.hsbt
[Bug #8523] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27* test/lib/minitest/unit.rb: Show leaked file descriptors.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27io.c: no error on frozen IOnobu
* 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-26Use Tempfile.create instead of Tempfile.new.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-26test/unit.rb: reduce error messagesnobu
* 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
2014-05-26test/rdoc: avoid tempfile leaksnobu
* 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
2014-05-26test/rubygems: remove tempfilesnobu
* 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
2014-05-26test/rdoc: avoid tempfile leaksnobu
* 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
2014-05-26test/rdoc: remove tempfilesnobu
* 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
2014-05-26test_rinda.rb: revert stop_servicenobu
* 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
2014-05-26test_rinda.rb: fix leaked threadsnobu
* 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
2014-05-26test_monitor.rb: fix leaked threadsnobu
* 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
2014-05-26* test/ruby/test_file.rb: skip the test of atime on Windows, becauseusa
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
2014-05-26thread.c: preserve encodingnobu
* 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
2014-05-26test_imap.rb: fix leaked threadsnobu
* 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
2014-05-26test_http.rb: fix leaked threadsnobu
* 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
2014-05-26test/ruby: fix leaked threadsnobu
* 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
2014-05-26test/ruby: fix leaked threadsnobu
* 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
2014-05-26test/thread: fix leaked threadsnobu
* 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
2014-05-26minitest/unit.rb: fix leaking tempfilenobu
* 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
2014-05-26test_features.rb: fix up r46123nobu
* 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
2014-05-25* test/lib/minitest/unit.rb: Show Finished threads line-by-line.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25* lib/csv.rb: Reject nil as data source for CSV.new, patch by @Peeja.zzak
[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
2014-05-25Show leaked threads line-by-line.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25* test/lib/minitest/unit.rb: Show leaked tempfiles line-by-line.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25Remove tempfiles.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25* test/lib/minitest/unit.rb (MiniTest::Assertions#diff): Removeakr
tempfiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25Avoid tempfile leaks using Tempfile.create instead of Tempfile.open.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25test_minitest_unit.rb: invoke by array formnobu
* 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
2014-05-25* test/lib/minitest/unit.rb: Check tempfile leak for each test class.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25* test/lib/minitest/unit.rb: Less ObjectSpace.each_object(Tempfile)akr
invocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25* test/lib/minitest/unit.rb: Use Thread.list instead ofakr
ObjectSpace.each_object(Thread). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25* test/openssl: Join threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25* test/fileutils/test_fileutils.rb ↵nagachika
(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
2014-05-25* test/lib/minitest/unit.rb: Sort leaked threads and tempfiles.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25Revert "* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344]"naruse
zzak is not the maintainer of yaml. This reverts commit r46097. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25vsnprintf.c: fix string precisionnobu
* vsnprintf.c (BSD_vfprintf): fix string width when precision is given. as the result of `memchr` is NULL or its offset from the start cannot exceed the size, the comparison was always false. [ruby-core:62737] [Bug #9861] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e