diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-09 23:03:35 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-09 23:03:35 +0000 |
commit | f40379378a2d1c50c094dd0cf9b827382741f34e (patch) | |
tree | aac23026bd308a76b68b108d54f6d43e5c298696 /test | |
parent | 79f940cda1d2cd538198d2b1ee54c09e02d107c6 (diff) | |
download | ruby-f40379378a2d1c50c094dd0cf9b827382741f34e.tar.gz |
* test/ruby/test_process.rb: unfortunately, windows is not POSIX...
cygwin has mkfifo command, but it does not affect system-wide.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_process.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 8f62cbe0c2..bcbd7e97d6 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -562,7 +562,7 @@ class TestProcess < Test::Unit::TestCase with_tmpchdir {|d| system("mkfifo fifo") return if !$?.success? - assert(FileTest.pipe?("fifo")) + assert(FileTest.pipe?("fifo"), "should be pipe") t1 = Thread.new { system(*ECHO["output to fifo"], :out=>"fifo") } @@ -572,7 +572,7 @@ class TestProcess < Test::Unit::TestCase v1, v2 = assert_join_threads([t1, t2]) assert_equal("output to fifo\n", v2) } - end + end unless windows? # does not support fifo def test_execopts_redirect_pipe with_pipe {|r1, w1| |