1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_file_exhaustive.rb: Test anonymous pipe.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2015-04-10 10:34:47 +00:00
parent dec7415126
commit deab71578b
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Fri Apr 10 19:34:24 2015 Tanaka Akira <akr@fsij.org>
* test/ruby/test_file_exhaustive.rb: Test anonymous pipe.
Fri Apr 10 19:31:56 2015 Tanaka Akira <akr@fsij.org>
* test/ruby/test_file_exhaustive.rb: Test named pipe.

View file

@ -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