summaryrefslogtreecommitdiffstats
path: root/bootstraptest
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
commit83d9e3b69454d796b762025f169d8a6bf3ae6682 (patch)
tree948de23a14297eb42be6a66873fc6894cf2179c2 /bootstraptest
parent9c5295b1ca3193e7b62a886ae5e261ab49624cce (diff)
downloadruby-83d9e3b69454d796b762025f169d8a6bf3ae6682.tar.gz
ruby-83d9e3b69454d796b762025f169d8a6bf3ae6682.tar.xz
ruby-83d9e3b69454d796b762025f169d8a6bf3ae6682.zip
add a test for [ruby-core:14385] reported by Frederick Cheung.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-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 39dc6a9b8..eebd29934 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]'