kgio.git  about / heads / tags
kinder, gentler I/O for Ruby
blob db304a24c751b1337274efa5b32b35d8bbbacf94 374 bytes (raw)
$ git show v1.0.1:test/test_unix_server_read_client_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
 
require './test/lib_read_write'
require 'tempfile'

class TestUnixServerReadClientWrite < Test::Unit::TestCase
  def setup
    tmp = Tempfile.new('kgio_unix')
    @path = tmp.path
    File.unlink(@path)
    tmp.close rescue nil
    @srv = Kgio::UNIXServer.new(@path)
    @wr = Kgio::UNIXSocket.new(@path)
    @rd = @srv.kgio_tryaccept
  end

  include LibReadWriteTest
end


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