aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* add tests.akr2010-07-011-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil#invoke_ruby): integrated withnobu2010-07-011-86/+44
| | | | | | runexec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (test_script_from_stdin): by usingnobu2010-06-291-4/+11
| | | | | | | | a pipe, get rid of not-well-defined behavior after the child process terminated in pty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole_method.rb (is_ruby64): checksuke2010-06-291-1/+1
| | | | | | | ruby binary is mswin64 or mingw64. [ruby-dev:41756] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_require.rb (test_require_with_unc): test for r28473.usa2010-06-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rdoc/test_rdoc_rdoc.rb: change to bin-mode to write directly.tarui2010-06-282-0/+2
| | | | | | | | reported at http://rubyforge.org/tracker/index.php?func=detail&aid=28249&group_id=627&atid=2472 * test/rdoc/test_rdoc_markup_pre_process.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/gemutilities.rb: check ENV['make'] for make_command.tarui2010-06-283-12/+6
| | | | | | | | | * test/rubygems/test_gem_ext_configure_builder.rb: use gemutilities' make_command. * test/rubygems/test_gem_ext_ext_conf_builder.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rdoc/test_rdoc_ri_driver.rb (TestRDocRIDriver#test_formatter):mame2010-06-281-3/+6
| | | | | | fix a test accordingly to r28455. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole_method.rb (test_offset_vtbl): checksuke2010-06-281-19/+3
| | | | | | | | that Ruby is 32bit or 64bit binary in order to get correct offset value. [ruby-dev:41741] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/io.h, io.c: reverted r21709.nobu2010-06-271-0/+24
| | | | | | | | * ruby.c (load_file_internal): nothing to read if EOF reached while reading shebang. [ruby-core:30910] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil#invoke_ruby): no needs to copy thenobu2010-06-261-1/+1
| | | | | | | original ENV, since it's done in spawn automatically. [ruby-dev:41733] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole_method.rb (test_offset_vtbl): checksuke2010-06-251-1/+22
| | | | | | | | that OS is Windows 32bit or Windows 64bit in order to get correct offset value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl/func.rb (call): don't overwrite original argumentstarui2010-06-251-0/+12
| | | | | | | | to defend from GC. * test/dl/test_func.rb (test_string): add test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Fixing a bug that prevented CSV from parsingjeg22010-06-251-0/+16
| | | | | | | | all multi-line fields correctly. Patch by Rob Biedenham. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err):nobu2010-06-251-0/+1
| | | | | | return the exit status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil#invoke_ruby): change thenobu2010-06-251-12/+5
| | | | | | environment of spawned process only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil#invoke_ruby): get rid of possiblenobu2010-06-251-2/+2
| | | | | | deadlock. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine an assertion message.akr2010-06-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add an assertion.akr2010-06-241-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): new workaround forakr2010-06-231-0/+9
| | | | | | | | getaddrinfo problem on Mac OS X Snow Leopard. [ruby-core:29427] patch by Wataru Kimura. [ruby-core:30842] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clean warnings: unused variables.naruse2010-06-235-6/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb (test_dup_warn): read in UTF-8nobu2010-06-232-3/+9
| | | | | | | | | encoding regardless environment. * test/ruby/envutil.rb (invoke_ruby): add encoding option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/optparse/test_summary.rb: fixed superclass so that it runnobu2010-06-221-4/+2
| | | | | | | solely. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_error.c (error_print): clear raised_flag while error-printingwanabe2010-06-211-0/+16
| | | | | | | | | to avoid hang. [ruby-core:27608] * test/ruby/test_beginendblock.rb (test_endblock_raise): add test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (shadowing_lvar_gen): get rid of adding extra name fornobu2010-06-201-0/+6
| | | | | | | shadowing local variable. [ruby-dev:41628] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb (resolve_klass): fix thetenderlove2010-06-181-0/+7
| | | | | | | | | exception message when attempting to load an unknown class. Thanks nobu! [ruby-dev:41399] * test/psych/test_psych.rb: test for the exception message git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "* parse.y (warn_unused_var): warn unused variables."naruse2010-06-171-6/+0
| | | | | | | This reverts commit r28339 and r28340 because they prevents test-all on boron. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (warn_unused_var): warn unused variables.nobu2010-06-161-0/+6
| | | | | | [ruby-dev:41620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_{regexp,rubyoptions}.rb: trivial change.nobu2010-06-162-5/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (safe_4): does not use Timeout becausemame2010-06-151-15/+18
| | | | | | | | | | | Timeout.timeout uses Thread#kill which raises SecurityError when $SAFE == 4. based on a patch from Tomoyuki Chikanaga. [ruby-dev:41484] * test/ruby/test_io.rb (test_print_separators): use pipe (test helper method) instead of IO.pipe. [ruby-dev:41484] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix test_regexp.naruse2010-06-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix for test_dup_warn.naruse2010-06-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYSakr2010-06-142-2/+2
| | | | | | | | | | | | for Windows. * test/socket/test_nonblock.rb (test_sendmsg_nonblock_error): ditto. [ruby-dev:41597] reported by Masaya Tarui. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* raise DRbConnError instead of ArgumentError if too many arguments.seki2010-06-142-2/+2
| | | | | | | [ruby-dev:41481] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* retry to fix test.naruse2010-06-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb: add a simple test for __END__ andmame2010-06-131-0/+13
| | | | | | DATA. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* try to fix test for boron.naruse2010-06-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/utf8_mac.trans (buf_apply): fix for patternsnaruse2010-06-122-8/+10
| | | | | | whose result is 2 bytes. [ruby-core:30751] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (test_attr_inherited_visibility): see ↵nobu2010-06-121-0/+13
| | | | | | [ruby-core:30638]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (test_uninitialized_toplevel_constant): test for ↵nobu2010-06-121-0/+6
| | | | | | [ruby-dev:40951]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_method.rb (test_public_methods_with_extended): test for ↵nobu2010-06-121-0/+10
| | | | | | [ruby-dev:41553]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):tarui2010-06-111-1/+1
| | | | | | | | fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):tarui2010-06-111-4/+8
| | | | | | | | 'size' is a accumulated transferred size in bytes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add sleep.akr2010-06-111-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/install_update_options.rbmame2010-06-111-2/+0
| | | | | | | | | (Gem::InstallUpdateOptions#add_install_update_options): deprecate --test option which has not worked. [ruby-core:21714] * test/rubygems/test_gem_command_manager.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more testsakr2010-06-101-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make it runnable by ruby 1.8.6.akr2010-06-101-6/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* split tests.akr2010-06-101-38/+64
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_localtime_r2): refine localtime overflow check forakr2010-06-101-2/+4
| | | | | | | | FreeBSD 6.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add comment.akr2010-06-101-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e