aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest/test_knownbug.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 15:19:44 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 15:19:44 +0000
commit71787f8ec2704a0559a8de8e91054f31e8444b3b (patch)
tree948de23a14297eb42be6a66873fc6894cf2179c2 /bootstraptest/test_knownbug.rb
parent78fd550840f539125f8b304b97631a690c554173 (diff)
downloadruby-71787f8ec2704a0559a8de8e91054f31e8444b3b.tar.gz
add a test for [ruby-core:14385] reported by Frederick Cheung.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_knownbug.rb')
-rw-r--r--bootstraptest/test_knownbug.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 39dc6a9b8b..eebd299340 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -2,3 +2,12 @@
# This test file concludes tests which point out known bugs.
# So all tests will cause failure.
#
+
+assert_normal_exit %q{
+ counter = 2
+ while true
+ counter -= 1
+ next if counter != 0
+ break
+ end
+}, '[ruby-core:14385]'