diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-15 05:57:08 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-15 05:57:08 +0000 |
commit | 89d7ac8090e22285327d1e502d7753813ae68f88 (patch) | |
tree | 0822b152faf7f6101598fb93d7d1358d5f587beb | |
parent | ef46ac506d1f48a769848ceaf73cd0db26d0159e (diff) |
merge revision(s) 34106:
* test/test_pty.rb (test_pty_check_default): call PTY.check until
"cat" command is finished.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/test_pty.rb | 5 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Sun Apr 15 14:57:00 2012 Tanaka Akira <akr@fsij.org> + + * test/test_pty.rb (test_pty_check_default): call PTY.check until + "cat" command is finished. + Sun Apr 15 14:54:16 2012 NAKAMURA Usaku <usa@ruby-lang.org> * test/ruby/test_process.rb (TestProcess#windows?): new method. diff --git a/test/test_pty.rb b/test/test_pty.rb index 025cafc8f8..3b3aa57ab9 100644 --- a/test/test_pty.rb +++ b/test/test_pty.rb @@ -172,8 +172,9 @@ class TestPTY < Test::Unit::TestCase st1 = PTY.check(pid) w.close r.close - sleep(0.1) - st2 = PTY.check(pid) + begin + sleep(0.1) + end until st2 = PTY.check(pid) end assert_equal(pid, st1.pid) if st1 assert_nil(st1) @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 183 +#define RUBY_PATCHLEVEL 184 #define RUBY_RELEASE_DATE "2012-04-15" #define RUBY_RELEASE_YEAR 2012 |