зеркало из https://github.com/github/ruby.git
* 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:
Родитель
dec7415126
Коммит
deab71578b
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче