diff options
Diffstat (limited to 'bootstraptest/test_knownbug.rb')
-rw-r--r-- | bootstraptest/test_knownbug.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 39dc6a9b8b..36c53d51bd 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -2,3 +2,17 @@ # This test file concludes tests which point out known bugs. # So all tests will cause failure. # + +assert_normal_exit %q{ + File.read("/dev/null").clone +}, '[ruby-dev:32819] reported by Kazuhiro NISHIYAMA' + +assert_normal_exit %q{ + class Foo + def self.add_method + class_eval("def some-bad-name; puts 'hello' unless @some_variable.some_function(''); end") + end + end + Foo.add_method +}, '[ruby-core:14556] reported by Frederick Cheung' + |