diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-10-05 21:29:51 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-10-05 21:29:51 +0000 |
commit | ec1315c9e9175d755dfd7b4acb8398fa7c7a924e (patch) | |
tree | 3cf5f65cb54b9721cc0ddb31d434ca7203ef7ac0 | |
parent | c639eef6b9c8d793c7f72fa5ac03adb5cf4d1e14 (diff) | |
download | unicorn-ec1315c9e9175d755dfd7b4acb8398fa7c7a924e.tar.gz |
It's a much closer representation of what we'd expect in the real server than a mono-directional UNIX pipe.
-rw-r--r-- | test/unit/test_tee_input.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_tee_input.rb b/test/unit/test_tee_input.rb index 3b10873..56b8952 100644 --- a/test/unit/test_tee_input.rb +++ b/test/unit/test_tee_input.rb @@ -10,7 +10,7 @@ class TestTeeInput < Test::Unit::TestCase def setup @rs = $/ @env = {} - @rd, @wr = IO.pipe + @rd, @wr = UNIXSocket.pair @rd.sync = @wr.sync = true @start_pid = $$ end |