diff options
author | bofh@yhbt.net <bofh@yhbt.net> | 2021-03-14 23:17:24 +0000 |
---|---|---|
committer | EW <bofh@yhbt.net> | 2021-03-15 06:02:52 +0000 |
commit | ea5295e8e4dcfaec24efb5030557594aabe645cb (patch) | |
tree | 520c0c0ef489ebeaa024bd20bff0c7594b849b79 /test/unit/test_socket_helper.rb | |
parent | 89b4ea15506ada542ab218c6819cf236e0afb2a2 (diff) | |
download | unicorn-ea5295e8e4dcfaec24efb5030557594aabe645cb.tar.gz |
Otherwise we get test failures since we use sysread and syswrite in many places
Diffstat (limited to 'test/unit/test_socket_helper.rb')
-rw-r--r-- | test/unit/test_socket_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_socket_helper.rb b/test/unit/test_socket_helper.rb index fbc7bb9..62d5a3a 100644 --- a/test/unit/test_socket_helper.rb +++ b/test/unit/test_socket_helper.rb @@ -116,7 +116,7 @@ class TestSocketHelper < Test::Unit::TestCase client.syswrite('abcde') exit 0 end - s = UNIXSocket.new(@unix_listener_path) + s = unix_socket(@unix_listener_path) IO.select([s]) assert_equal 'abcde', s.sysread(5) pid, status = Process.waitpid2(pid) |