nobu
2082417a48
* eval.c (setup_exception): internal exception should be hidden
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 13:36:46 +00:00
drbrain
c0d9226f49
* test/test_singleton.rb: Add tests from lib/singleton.rb. Patch by
...
Pete Higgins. [Ruby 1.9 - Bug #4715 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 18:15:10 +00:00
kosaki
b2d3995f4c
* test/ruby/test_io.rb (TestIO#test_O_CLOEXEC): add null check.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 16:04:17 +00:00
kosaki
39b1198410
Fix FreeBSD test failure.
...
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
use ps -o command instead of ps -o cmd. FreeBSD doesn't support
-o cmd option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 10:36:29 +00:00
drbrain
f4b52722aa
* lib/rdoc.rb: Update to RDoc 3.6.1, allows OpenSSL::Digest to be
...
found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 23:00:21 +00:00
kosaki
9e9543acb5
* test/ruby/test_signal.rb (TestSignal#test_signal_process_group):
...
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
2011-05-15 15:33:23 +00:00
nagachika
29c2876d61
* signal.c (rb_f_kill): accept '-SIGXXX' style signal with Symbol or
...
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
2011-05-15 13:37:47 +00:00
nagachika
980155686a
* cont.c (cont_init): clear macihne_stack_start/end of saved thread to
...
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
2011-05-15 12:41:40 +00:00
nobu
3a47cf3395
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
kosaki
4c79752cdf
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
...
add for $0 test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 10:53:29 +00:00
emboss
4ccb387f3b
Sat May 14 12:00:54 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
...
* 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
2011-05-14 03:14:33 +00:00
drbrain
4bf8c87101
* lib/rdoc/context.rb (class RDoc): Fix infinite loop caused by
...
re-encountering BasicObject.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 03:07:38 +00:00
emboss
ad10cfeb52
Sat May 14 10:32:36 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
...
* 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
2011-05-14 01:33:58 +00:00
drbrain
0b6da24a5e
* lib/rdoc.rb: Updated to RDoc 3.6
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 00:39:16 +00:00
emboss
e16d6108c0
Sat May 14 05:08:32 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
...
* 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
2011-05-13 20:10:27 +00:00
emboss
cb57042bee
Sat May 14 04:19:06 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
...
* 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
2011-05-13 19:25:18 +00:00
usa
dd4dca8f06
* test/dl/test_base.rb (Fiddle::LIBC_SO): its always msvc*.dll on
...
mswin/mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-12 05:51:55 +00:00
sorah
64495a2f85
* lib/test/unit.rb: Add option for hiding skip messages when test
...
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
2011-05-10 05:53:46 +00:00
tadf
c1f80caa54
* test/ruby/test_{complex,rational}.rb: added tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-09 11:57:59 +00:00
tadf
6c81a8e44e
* complex.c (string_to_c_internal): a refactoring.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-09 11:31:26 +00:00
mrkn
ca927d60f4
* complex.c (string_to_c_internal): support scientific notation.
...
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
2011-05-09 04:52:57 +00:00
tadf
10c4a861eb
* test/ruby/test_{complex2,complexrational}.rb: use skip.
...
* test/date/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 13:18:47 +00:00
tadf
e2ab17e881
never skip
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 12:03:50 +00:00
tadf
6b8bc66e4d
fixed
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 12:01:59 +00:00
tadf
a4ecf14d58
* test/date/*.rb: NEVER SKIP.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:56:32 +00:00
tadf
5518dc64cf
* test/date/*.rb: reverted 31432.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:38:25 +00:00
tadf
dbe8aba7f9
* test/date/*.rb: reverted 31483.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:33:41 +00:00
naruse
bf92aa8b16
Revert r31478.
...
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
2011-05-08 11:15:23 +00:00
tadf
847b461452
* test/date/*.rb: use skip /w messages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 08:18:10 +00:00
kosaki
f23fa4b011
* test/io/wait/test_io_wait.rb: Linux socketpair(2) only support
...
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
2011-05-07 20:21:38 +00:00
kosaki
16846eb90c
* test/io/wait/test_io_wait.rb: use Socket.pair instaed of pipe.
...
Windows can only treat a socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-07 15:17:22 +00:00
kosaki
70e9201610
* test/io/wait/test_io_wait.rb: skip tests if the platform is
...
mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-07 14:57:38 +00:00
nobu
21fcb1c3a1
* test/ruby/test_io.rb (TestIO#test_readpartial_lock),
...
(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
2011-05-07 14:52:54 +00:00
nobu
54aa0b1232
* ext/syck/rubyext.c (mktime_do): extra digits are not used.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-06 13:36:02 +00:00
kosaki
25d040780f
* test/ruby/test_io.rb (TestIO#test_O_CLOEXEC): fix false positive
...
detection.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-05 14:09:21 +00:00
nagachika
5358a5c016
* eval.c (frame_func_id): __method__ return different name from
...
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
2011-05-05 06:32:37 +00:00
kosaki
674a33edf5
* test/date/test_date_base.rb: don't use no message skip().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-04 13:10:06 +00:00
kosaki
be62297f92
* io.c (Init_IO): Added File::CLOEXEC constant. [ruby-core:22893] [Feature #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
2011-05-04 11:29:24 +00:00
kosaki
c06da4735d
* thread.c (rb_wait_for_single_fd): Fix wrong return value.
...
* 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
2011-05-04 10:02:06 +00:00
kosaki
2a989121db
* ext/-test-/wait_for_single_fd: New. for testing
...
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
2011-05-04 09:50:27 +00:00
tenderlove
d47073de04
* ext/psych/lib/psych/visitors/yaml_tree.rb: fix time dumping so that
...
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
2011-05-03 23:06:19 +00:00
kosaki
50522eb351
* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode):
...
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
2011-05-03 11:31:20 +00:00
yugui
7ad29955a6
* test/date/test_date.rb (TestDate#test_coerce):
...
test for [ruby-core:35127].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-03 09:31:13 +00:00
kosaki
0a1e7d1568
* lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument.
...
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
2011-05-01 16:16:05 +00:00
kosaki
e140be6956
fix commit mistake of r31389.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30 16:02:11 +00:00
usa
e269a71eeb
* test/dl/test_base.rb (DL::LIBC_SO): its always msvc*.dll on
...
mswin/mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-28 06:34:01 +00:00
nobu
e858442f4f
* lib/csv.rb (CSV::open): suppress universal newline decorator.
...
fixes #4603
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-27 21:07:09 +00:00
nobu
dfb52b729b
* test/ruby/test_encoding.rb (test_encoding): tests for r31362.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 16:30:27 +00:00
tadf
2ad123c298
use skip
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 16:09:14 +00:00
tadf
184e9e9d88
use skip
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 16:05:49 +00:00