[Bug #493] Failure: test_dup(TestIO)

Bug #493: Failure: test_dup(TestIO)
http://redmine.ruby-lang.org/issues/show/493

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal

ruby 1.9.0 (2008-08-25 revision 18832) [i686-linux]
e$B$He(BUbuntu
8.04.1e$B$N4D6-$Ge(Btest-alle$B$G0J2<$Ne(BFailuree$B$,H/@8$7$^$9!#e(B
test/ruby/test_io.rbe$BC1FH$@$H5/$-$J$$$h$&$G$9!#e(B

  1. Failure:
    test_dup(TestIO)
    [/home/kazu/wc/ruby-lang/trunk/test/ruby/test_io.rb:640:in block in test_dup' /home/kazu/wc/ruby-lang/trunk/test/ruby/test_io.rb:585:in rescue
    in pipe2’
    /home/kazu/wc/ruby-lang/trunk/test/ruby/test_io.rb:591:in pipe2' /home/kazu/wc/ruby-lang/trunk/test/ruby/test_io.rb:639:in test_dup’]:
    <[Errno::EMFILE, Errno::ENFILE, Errno::NOERROR]> exception expected but
    none was thrown.

e$B%A%1%C%He(B #493 e$B$,99?7$5$l$^$7$?!#e(B (by zunda an)

Momonga 4e$B$Ne(B
ruby 1.9.0 (2008-09-07 revision 19208) [i686-linux]
e$B$G$bH/@8$7$^$7$?!#e(B

Momonga 4e$B$Ne(B
ruby 1.9.0 (2008-09-07 revision 19208) [x86_64-linux]
e$B$G$OH/@8$7$^$;$s$G$7$?!#e(B


http://redmine.ruby-lang.org/issues/show/493

e$B%A%1%C%He(B #493 e$B$,99?7$5$l$^$7$?!#e(B (by Kazuhiro NISHIYAMA)

e$BC4Ev<Te(B e$B:o=|e(B (Kazuhiro NISHIYAMA)

test_dupe$B$Ne(Bpipe2e$B$NA0$G!"%V%m%C%/$NCf$Ge(Bopene$B$9$k$He(B
ruby-trunk test/ruby/test_io.rb -n /test_dup/
e$B$N$h$&$KC1FH$G<B9T$7$F$b:F8=$9$k$h$&$K$J$C$?$N$Ge(Bcommite$B$7$F$*$-$^$9!#e(B

e$BE,Ev$Ke(BGC.starte$B$7$F$b8=>]$OJQ$o$i$:!"e(Bopene$B$7$?$b$N$r$A$c$s$He(Bclosee$B$9$l$Pe(B
e$B%F%9%H$,DL$k$h$&$K$J$k$N$G!“e(BFilee$B$N%U%!%$%J%i%$%6$N=hM}$KLdBj$,$”$k$N$G$Oe(B
e$B$J$$$+$H;W$$$^$9!#e(B

e$B$3$l0J>e$O$o$+$i$J$$$N$GC4Ev<T$O6u$KLa$7$F$*$-$^$9!#e(B

http://redmine.ruby-lang.org/issues/show/493

e$B%A%1%C%He(B #493 e$B$,99?7$5$l$^$7$?!#e(B (by Anonymous)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r19396.

http://redmine.ruby-lang.org/issues/show/493