aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * ext/bigdecimal/bigdecimal.c (VpAlloc): ensure buf does not getnobu2010-05-081-0/+11
| | | | | | | collected. based on a patch masaya tarui at [ruby-dev:41213]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't sleep indefinitely. collect the zombie.akr2010-05-071-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r26058 "* test/webrick/test_server.rb (test_daemon): simply use ↵naruse2010-05-071-2/+8
| | | | | | | | fork's return" This must use pipe because the target for kill is not direct child. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpCtoV): fix to check overflow.naruse2010-05-061-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst isnobu2010-05-061-2/+17
| | | | | | | | | | | | | | | | truncated with ec_key.group.order.size after openssl 0.9.8m for FIPS 186-3 compliance. WARNING: ruby-openssl aims to wrap an OpenSSL so when you're using openssl 0.9.8l or earlier version, EC.dsa_sign_asn1 raises OpenSSL::PKey::ECError as before and EC.dsa_verify_asn1 just returns false when you pass dgst longer than expected (no truncation performed). * ext/openssl/ossl_pkey_ec.c: rdoc typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/*: Adding fiddle library to wrap libffitenderlove2010-05-064-0/+205
| | | | | | | | | * test/fiddle/*: testing fiddle extension * ext/dl/lib/dl.rb: Requiring fiddle if it is available * ext/dl/lib/dl/callback.rb: using Fiddle if it is available * ext/dl/lib/dl/func.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/etc/test_etc.rb: assert only when any value is given.nobu2010-05-051-2/+2
| | | | | | [Bug #1575] [ruby-core:23722] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix and add tests for String#inspect. [ruby-dev:41153]naruse2010-05-041-6/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb (test_relative_symlink): skip if symlink is notusa2010-05-042-7/+17
| | | | | | | | | | | implemented. * test/ruby/test_file_exhaustive.rb (test_stat, test_expand_path): ignore tests about nlink on Windows because its not imeplented because of performance problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (name_err_mesg_to_str): preserve encoding of inspection.nobu2010-05-041-0/+8
| | | | | | [ruby-core:29948] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (test_copy_stream):nobu2010-05-041-7/+8
| | | | | | | IO.copy_stream support binmode only currently. [ruby-core:23724] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Setup Symbol#to_json to avoid conflict.naruse2010-05-041-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPResponse#read_chunked): ensure to skip themame2010-05-032-18/+79
| | | | | | | | | | last newline of chunk. [ruby-core:29229] * test/net/http/utils.rb: add an option for chunked response test. * test/net/http/test_http.rb: add tests for chunked response. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_scan_scalar): set SCAN_WHITEEDGE flagnobu2010-05-021-23/+93
| | | | | | | | | when scalar begins with newline. patches from Dave B <daz AT d10.karoo.co.uk> at [ruby-core:23019] and caleb clausen at [ruby-core:25851]. [ruby-core:23006][ruby-core:29925] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/json/test_json_addition.rb (test_utc_datetime): fixednobu2010-05-021-2/+2
| | | | | | timezone offsets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test: fixed wrong assertions.nobu2010-05-022-13/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest.rb (test_eq): use descriptive assertion.nobu2010-05-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_tempfile.rb: fixed errors.nobu2010-05-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#size): stat by path name when it isnobu2010-05-011-8/+8
| | | | | | closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Upgrade to RDoc 2.5.8drbrain2010-05-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):nobu2010-04-301-0/+8
| | | | | | | | assertion message must be String or Proc. suggested by caleb clausen at [ruby-core:29884]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb: skip false tests on Windows.nobu2010-04-301-8/+32
| | | | | | | [ruby-core:29886] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_open3.rb (TestOpen3#test_commandline): use simplenobu2010-04-301-2/+2
| | | | | | command via shell. [ruby-dev:41100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Improve algorithm for Matrix#determinant and Matrix#rankmarcandre2010-04-291-18/+5
| | | | | | | {determinant,det,rank}_e are now deprecated. [ruby-core:28273] Also fixes a bug in Determinant#rank (e.g. [[0,1][0,1][0,1]]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Follow reverting wrong commit; see r11156, r27400.naruse2010-04-291-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_open3.rb (test_commandline): use dump instead ofnobu2010-04-291-3/+1
| | | | | | | shellwords. [ruby-core:23797] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_open3.rb (test_commandline): skip the test with Shellwords onwanabe2010-04-291-0/+1
| | | | | | Windows. see #1603 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):nobu2010-04-299-20/+21
| | | | | | use more descriptive assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby: fixed nonsense assertions.nobu2010-04-297-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/psych/visitors/test_yaml_tree.rb (test_struct_const): removemame2010-04-281-0/+1
| | | | | | | Struct::Foo which affects test/ruby/test_struct to warn redefining constant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_unix.rb (TestSocket_UNIXSocket#test_recvmsg):nobu2010-04-281-0/+1
| | | | | | skip if AncillaryData is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Cleaning up syntax warnings.naruse2010-04-272-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/deprecated.rb: adding deprecated object_makertenderlove2010-04-271-0/+7
| | | | | | | method, * test/psych/test_deprecated.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/deprecated.rb: adding deprecated "read_type_class"tenderlove2010-04-271-0/+12
| | | | | | | method * test/psych/test_deprecated.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (set_relation): do not use top_wrapper as bottom of cref,mame2010-04-271-0/+13
| | | | | | | | which caused constant lookup error when "wrapped load" is used; instead, use Object as bottom, and push top_wrapper on Object. [ruby-core:25039] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): before cleanup, check signal buffer and runmame2010-04-271-1/+14
| | | | | | | | | handler if any. [ruby-core:20970] * thread.c (rb_threadptr_check_signal): separeted from timer_thread_function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780drbrain2010-04-2711-60/+264
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_read_escape): deny extra character escapes.nobu2010-04-271-0/+7
| | | | | | [ruby-core:27228] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (select_internal): IO which cbuf is not empty is readable.akr2010-04-261-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c, rational.c, lib/cmath.rb, lib/date.rb lib/date/delta*:tadf2010-04-261-0/+55
| | | | | | | | reverted r27484-27486. now official spec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ripper_get_value): escape Qundef.nobu2010-04-261-5/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/bigdecimal/testbase.rb (teardown): should reset all modes.nobu2010-04-263-11/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json: Update to JSON 1.4.1.naruse2010-04-266-52/+181
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c, ratioanl.c: reverted experimental r24565.tadf2010-04-251-55/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/deprecated.rb: adding deprecated tagurize methodtenderlove2010-04-241-0/+6
| | | | | | * test/psych/test_deprecated.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/deprecated.rb: adding support for deprecatedtenderlove2010-04-241-0/+10
| | | | | | | | | "add_private_type" function * ext/psych/lib/psych.rb: ditto * ext/psych/lib/psych/visitors/to_ruby.rb: ditto * test/psych/test_deprecated.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/deprecated.rb: supporting detect_implicit methodtenderlove2010-04-241-0/+8
| | | | | | * test/psych/test_deprecated.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/psych/test_psych.rb: don't leave temporary files.akr2010-04-241-8/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: raise IOError when byte oriented operations occur withakr2010-04-241-0/+33
| | | | | | | | non-empty character buffer. [ruby-dev:40493] [ruby-dev:40506] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych.rb: supporting deprecated syck methodtenderlove2010-04-242-1/+38
| | | | | | | | | add_ruby_type * ext/psych/lib/psych/visitors/to_ruby.rb: ditto * test/psych/test_deprecated.rb: ditto * test/psych/test_psych.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e