2007-08-28 23:48:19 -04:00
|
|
|
#
|
|
|
|
# This test file concludes tests which point out known bugs.
|
|
|
|
# So all tests will cause failure.
|
|
|
|
#
|
2007-09-26 18:40:44 -04:00
|
|
|
|
2007-12-01 12:29:43 -05:00
|
|
|
assert_equal '0', %q{
|
|
|
|
GC.stress = true
|
|
|
|
pid = fork {}
|
|
|
|
Process.wait pid
|
|
|
|
$?.to_i
|
|
|
|
}, '[ruby-dev:32404]'
|
2007-12-01 20:43:29 -05:00
|
|
|
|
|
|
|
assert_match /unterminated string meets end of file/, %q{
|
|
|
|
STDERR.reopen(STDOUT)
|
|
|
|
eval("\"\xfd".force_encoding("utf-8"))
|
2007-12-01 21:04:34 -05:00
|
|
|
}, '[ruby-dev:32429]'
|
2007-12-04 01:31:42 -05:00
|
|
|
|
|
|
|
assert_normal_exit %q{
|
|
|
|
"abcd\xf0".force_encoding("utf-8").reverse.inspect
|
|
|
|
}, '[ruby-dev:32448]'
|