1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bootstraptest/test_knownbug.rb

21 lines
454 B
Ruby
Raw Normal View History

#
# This test file concludes tests which point out known bugs.
# So all tests will cause failure.
#
assert_equal '0', %q{
GC.stress = true
pid = fork {}
Process.wait pid
$?.to_i
}, '[ruby-dev:32404]'
assert_match /unterminated string meets end of file/, %q{
STDERR.reopen(STDOUT)
eval("\"\xfd".force_encoding("utf-8"))
}, '[ruby-dev:32429]'
assert_normal_exit %q{
"abcd\xf0".force_encoding("utf-8").reverse.inspect
}, '[ruby-dev:32448]'