2007-08-29 07:48:19 +04:00
|
|
|
#
|
|
|
|
# This test file concludes tests which point out known bugs.
|
|
|
|
# So all tests will cause failure.
|
|
|
|
#
|
2007-09-27 02:40:44 +04:00
|
|
|
|
|
|
|
assert_finish 1, %q{
|
|
|
|
r, w = IO.pipe
|
2007-09-27 03:24:08 +04:00
|
|
|
t1 = Thread.new { r.sysread(1) }
|
|
|
|
t2 = Thread.new { r.sysread(1) }
|
2007-09-27 02:40:44 +04:00
|
|
|
sleep 0.1
|
|
|
|
w.write "a"
|
|
|
|
sleep 0.1
|
|
|
|
w.write "a"
|
|
|
|
}, '[ruby-dev:31866]'
|
2007-09-27 13:51:24 +04:00
|
|
|
|
2007-09-29 07:32:57 +04:00
|
|
|
assert_normal_exit %q{
|
2007-09-29 08:52:43 +04:00
|
|
|
Marshal.load(Marshal.dump({"k"=>"v"}), lambda {|v| })
|
2007-09-29 07:32:57 +04:00
|
|
|
}
|
2007-09-30 06:23:58 +04:00
|
|
|
|
2007-10-05 11:43:34 +04:00
|
|
|
assert_not_match /method_missing/, %q{
|
|
|
|
STDERR.reopen(STDOUT)
|
|
|
|
variable_or_mehtod_not_exist
|
|
|
|
}
|