aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rdoc.rb: Update to RDoc 3.6.1, allows OpenSSL::Digest to bedrbrain2011-05-151-10/+26
| | | | | | | found. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb (TestSignal#test_signal_process_group):kosaki2011-05-151-0/+2
| | | | | | | | | skip if the platform doesn't have :pgroup capability. (i.e. skip if mswin32) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (rb_f_kill): accept '-SIGXXX' style signal with Symbol ornagachika2011-05-151-0/+12
| | | | | | | | implicit convertion with #to_str. [ruby-dev:43169] fixes #4362 * test/ruby/test_signal.rb (test_signal_process_group): add a test for send signal to process group. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_init): clear macihne_stack_start/end of saved thread tonagachika2011-05-151-0/+11
| | | | | | | | prevent mark machine stack of GC'ed Thread. root Fiber is not initialized by fiber_init(). based on a patch by Serge Balyuk [ruby-core:35891] fixes #4612 * test/ruby/test_fiber.rb (test_gc_root_fiber): add test for it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2011-05-1564-258/+258
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):kosaki2011-05-141-0/+8
| | | | | | | | add for $0 test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sat May 14 12:00:54 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>emboss2011-05-142-4/+129
| | | | | | | | | | | | | | * test/openssl/test_pkey_dsa.rb: Add basic tests and tests that ensure new public key PEM encoding behavior and ensure backward compatibility. [Ruby 1.9 - Bug #4422] [ruby-core:35328] * test/openssl/test_pkey_rsa.rb: Remove line with 'puts'. previous revision: 31561 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/context.rb (class RDoc): Fix infinite loop caused bydrbrain2011-05-142-2/+40
| | | | | | | re-encountering BasicObject. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sat May 14 10:32:36 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>emboss2011-05-141-0/+112
| | | | | | | | | | | | * test/openssl/test_pkey_rsa.rb: Add tests that ensure new public key encoding behavior and also ensure backward compatibility. [Ruby 1.9 - Bug #4421, Bug #4422] [ruby-core:35327,35328] previous revision: 31559 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: Updated to RDoc 3.6drbrain2011-05-1410-9/+391
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sat May 14 05:08:32 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>emboss2011-05-131-42/+0
| | | | | | | | | | | | | | * ext/openssl/ossl_digest.c * ext/openssl/ossl_pkey.c * ext/openssl/ossl_pkey.h * test/openssl/pkey/test_pkey_rsa.rb Reverted premature commit. Sorry for the noise! Previous revision: 31555 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sat May 14 04:19:06 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>emboss2011-05-131-0/+42
| | | | | | | | | | | | * NEWS: Describe altered behaviour for RSA and DSA public key encoding. [Ruby 1.9 - Bug #4421, Bug #4422] [ruby-core:35327,35328] Previous revision: 31553 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_base.rb (Fiddle::LIBC_SO): its always msvc*.dll onusa2011-05-121-1/+1
| | | | | | | mswin/mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: Add option for hiding skip messages when testsorah2011-05-102-0/+27
| | | | | | | | | ends. #4657 * test/testunit/test_hideskip.rb, test/testunit/test4test_hideskip.rb: test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_{complex,rational}.rb: added tests.tadf2011-05-092-0/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (string_to_c_internal): a refactoring.tadf2011-05-091-4/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (string_to_c_internal): support scientific notation.mrkn2011-05-091-0/+4
| | | | | | | patched by Tinco Andringa. https://github.com/ruby/ruby/pull/16 [ruby-core:36046][Bug #4655] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_{complex2,complexrational}.rb: use skip.tadf2011-05-086-56/+29
| | | | | | | * test/date/*.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* never skiptadf2011-05-082-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixedtadf2011-05-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/*.rb: NEVER SKIP.tadf2011-05-085-47/+51
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/*.rb: reverted 31432.tadf2011-05-084-26/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/*.rb: reverted 31483.tadf2011-05-084-26/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r31478.naruse2011-05-084-26/+26
| | | | | | | | In CRuby's test-all, skip is for something to be fixed. When some external library is missing, it should silently return; don't flood the test result with meaningless messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/*.rb: use skip /w messages.tadf2011-05-084-26/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/wait/test_io_wait.rb: Linux socketpair(2) only supportkosaki2011-05-071-1/+5
| | | | | | | | | AF_UNIX, but windows socketpair doesn't support it. we can't avoid platform check. sigh! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/wait/test_io_wait.rb: use Socket.pair instaed of pipe.kosaki2011-05-071-8/+2
| | | | | | | | Windows can only treat a socket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/wait/test_io_wait.rb: skip tests if the platform iskosaki2011-05-071-0/+7
| | | | | | | | mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (TestIO#test_readpartial_lock),nobu2011-05-071-2/+2
| | | | | | (TestIO#test_read_lock): get rid of GVL fairness problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (mktime_do): extra digits are not used.nobu2011-05-061-0/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (TestIO#test_O_CLOEXEC): fix false positivekosaki2011-05-051-19/+39
| | | | | | | | detection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (frame_func_id): __method__ return different name fromnagachika2011-05-051-0/+26
| | | | | | | | | | methods defined by Module#define_method with a same block. [ruby-core:35386] fixes #4606 * eval (method_entry_of_iseq): new helper function. search control frame stack for a method entry which has given iseq. * test/ruby/test_method.rb: add tests for #4696 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/test_date_base.rb: don't use no message skip().kosaki2011-05-041-22/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Init_IO): Added File::CLOEXEC constant. [ruby-core:22893] [Feature ↵kosaki2011-05-041-0/+31
| | | | | | | | | | #1291] * test/ruby/test_io.rb (TestIO#test_o_cloexec): test for File::CLOEXEC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_wait_for_single_fd): Fix wrong return value.kosaki2011-05-041-0/+10
| | | | | | | | | * test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb (TestWaitForSingleFD#test_wait_for_closed_pipe): test for it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/-test-/wait_for_single_fd: New. for testingkosaki2011-05-041-0/+32
| | | | | | | | | | | rb_wait_for_single_fd() internal function. The patch was written by Eric Wong. [ruby-core:35991] * test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/yaml_tree.rb: fix time dumping so thattenderlove2011-05-033-2/+8
| | | | | | Syck can load UTC times that Psych dumps. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode):kosaki2011-05-031-4/+11
| | | | | | | | | Skip sticky bit test if the platform is FreeBSD. It doesn't allow to change sticky bit if a target is regular file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/test_date.rb (TestDate#test_coerce):yugui2011-05-031-0/+21
| | | | | | test for [ruby-core:35127]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument.kosaki2011-05-011-0/+41
| | | | | | | | | | | | | | | | | The patch was written by takkanm. [ruby-core:26029][Feature #2190] * lib/fileutils.rb (FileUtils#fu_mode): new helper function. * lib/fileutils.rb (FileUtils#symbolic_modes_to_i): ditto. * lib/fileutils.rb (FileUtils#mode_mask): ditto. * lib/fileutils.rb (FileUtils#user_mask): ditto. * test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode): new test for the above symbolic mode. * test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_R): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix commit mistake of r31389.kosaki2011-04-301-0/+64
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_base.rb (DL::LIBC_SO): its always msvc*.dll onusa2011-04-281-1/+1
| | | | | | | mswin/mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV::open): suppress universal newline decorator.nobu2011-04-271-0/+15
| | | | | | fixes #4603 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_encoding.rb (test_encoding): tests for r31362.nobu2011-04-261-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use skiptadf2011-04-262-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use skiptadf2011-04-261-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: modified validation methods.tadf2011-04-263-25/+27
| | | | | | | | * ext/date/lib/date.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strip trailing spaces.nobu2011-04-263-34/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (validate_enc_binmode, rb_io_extract_modeenc): set newlinenobu2011-04-262-0/+13
| | | | | | | | decorator according to open mode. * transcode.c (rb_econv_prepare_options): new function, to prepare econv options with newline flags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/lib/date/format.rb (_iso8601): allowed day only civiltadf2011-04-261-33/+60
| | | | | | | date. disallowed separatorless day only ordinal date. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e