summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 07:27:15 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 07:27:15 +0000
commited7b25a85436cff446779f580e859da94cd4d9d8 (patch)
treef39278ae994d177475edb757cf58679181c1b051 /bootstraptest
parent9b0bba0e37483df6a4efe04e0681da189e6784fa (diff)
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 39dc6a9b8b..8a1ef23414 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -2,3 +2,13 @@
# This test file concludes tests which point out known bugs.
# So all tests will cause failure.
#
+
+assert_finish 1, %q{
+ r, w = IO.pipe
+ Thread.new {
+ w << "ab"
+ sleep 0.1
+ w << "ab"
+ }
+ p r.gets("abab")
+}