diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-02 03:34:15 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-02 03:34:15 +0000 |
commit | 50cc7057af5495c8c50715720de1f3c48918f011 (patch) | |
tree | 87a5e904a65bd84fbc4c6b825f314449e96f5ece /test/ruby | |
parent | 25acda257cdc336a83372acc21fb8b899bd25635 (diff) | |
download | ruby-50cc7057af5495c8c50715720de1f3c48918f011.tar.gz |
* test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe now
we can test it.
* test/ruby/test_thread.rb (TestThread#test_thread_timer_and_interrupt):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_process.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_thread.rb | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 99723f625f..2d074219cd 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1356,7 +1356,7 @@ class TestProcess < Test::Unit::TestCase } assert(status.success?, "[ruby-dev:38105]") } - end unless /mswin|bccwin|mingw/ =~ RUBY_PLATFORM + end def test_fallback_to_sh feature = '[ruby-core:32745]' diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 668f3741e3..d9b8afc752 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -743,12 +743,9 @@ _eom end t1 = Time.now.to_f assert_equal(pid, s.pid, bug5757) - unless /mswin|mingw/ =~ RUBY_PLATFORM - # status of signal is not supported on Windows - assert_equal([false, true, false, Signal.list["INT"]], - [s.exited?, s.signaled?, s.stopped?, s.termsig], - "[s.exited?, s.signaled?, s.stopped?, s.termsig]") - end + assert_equal([false, true, false, Signal.list["INT"]], + [s.exited?, s.signaled?, s.stopped?, s.termsig], + "[s.exited?, s.signaled?, s.stopped?, s.termsig]") assert_in_delta(t1 - t0, 1, 1, bug5757) end |