diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-23 08:33:32 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-23 08:33:32 +0000 |
commit | 1e4278c98dbb8481d460483146cf18f0ff108c37 (patch) | |
tree | 5eaee2ea9759bd17b4675b9ca7d82260eaa7791f /bootstraptest/test_io.rb | |
parent | e265a55740d7cec3e392d421e4e0f76c6fdb56f0 (diff) |
* bootstraptest/test_knownbug.rb: move solved tests.
* bootstraptest/test_io.rb, test_marshal.rb, test_objectspace.rb:
ditto.
* test/ruby/test_integer.rb, test_regexp.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_io.rb')
-rw-r--r-- | bootstraptest/test_io.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstraptest/test_io.rb b/bootstraptest/test_io.rb new file mode 100644 index 0000000000..8cd2730c6a --- /dev/null +++ b/bootstraptest/test_io.rb @@ -0,0 +1,9 @@ +assert_finish 1, %q{
+ r, w = IO.pipe
+ t1 = Thread.new { r.sysread(1) }
+ t2 = Thread.new { r.sysread(1) }
+ sleep 0.1
+ w.write "a"
+ sleep 0.1
+ w.write "a"
+}, '[ruby-dev:31866]'
|