ruby-changes:38129
From: akr <ko1@a...>
Date: Fri, 10 Apr 2015 19:34:58 +0900 (JST)
Subject: [ruby-changes:38129] akr:r50210 (trunk): * test/ruby/test_file_exhaustive.rb: Test anonymous pipe.
akr 2015-04-10 19:34:47 +0900 (Fri, 10 Apr 2015) New Revision: 50210 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50210 Log: * test/ruby/test_file_exhaustive.rb: Test anonymous pipe. Modified files: trunk/ChangeLog trunk/test/ruby/test_file_exhaustive.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 50209) +++ ChangeLog (revision 50210) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Apr 10 19:34:24 2015 Tanaka Akira <akr@f...> + + * test/ruby/test_file_exhaustive.rb: Test anonymous pipe. + Fri Apr 10 19:31:56 2015 Tanaka Akira <akr@f...> * test/ruby/test_file_exhaustive.rb: Test named pipe. Index: test/ruby/test_file_exhaustive.rb =================================================================== --- test/ruby/test_file_exhaustive.rb (revision 50209) +++ test/ruby/test_file_exhaustive.rb (revision 50210) @@ -1100,6 +1100,10 @@ class TestFileExhaustive < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L1100 make_fifo fifo assert((File::Stat.new(fifo).pipe?)) end + IO.pipe {|r, w| + assert(r.stat.pipe?) + assert(w.stat.pipe?) + } end def test_stat_symlink_p -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/