kgio.git  about / heads / tags
kinder, gentler I/O for Ruby
blob c8835cdf9a44f8b37ec88db4cbbbba1247f4e2f0 411 bytes (raw)
$ git show rbx-wip:test/test_unix_client_read_server_write.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
require './test/lib_read_write'
require 'tempfile'
require 'tmpdir'

class TestUnixClientReadServerWrite < Test::Unit::TestCase
  def setup
    @tmpdir = Dir.mktmpdir('kgio_unix_0')
    tmp = Tempfile.new('kgio_unix_0', @tmpdir)
    @path = tmp.path
    tmp.close!
    @srv = Kgio::UNIXServer.new(@path)
    @rd = Kgio::UNIXSocket.new(@path)
    @wr = @srv.kgio_tryaccept
  end

  include LibReadWriteTest
end


git clone git://yhbt.net/kgio.git
git clone https://yhbt.net/kgio.git