diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Fri Apr 10 19:34:24 2015 Tanaka Akira <[email protected]> + + * test/ruby/test_file_exhaustive.rb: Test anonymous pipe. + Fri Apr 10 19:31:56 2015 Tanaka Akira <[email protected]> * test/ruby/test_file_exhaustive.rb: Test named pipe. diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 142adac43b..b2c3e34371 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -1100,6 +1100,10 @@ class TestFileExhaustive < Test::Unit::TestCase 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 |