UNIXSocket problem with ruby 1.8.5 preview2 on cygwin

e$BLxED$G$9!#e(B

Cygwin e$B4D6-$K$*$$$F!"e(BTestUNIXSocket e$B$Ne(B test_addr
e$B$G;_$^$k$h$&$G$9!#e(B
C-c e$B$G=N;$5$;$?7k2L$O0J2<$N$H$$j$G$9!#e(B

% uname -a
CYGWIN_NT-5.0 mizuki 1.5.20(0.156/4/2) 2006-07-01 02:22 i686 Cygwin
% make TESTS=’-v socket/test_unix’ test-all
./miniruby.exe ./runruby.rb --extout=.ext – -C “./test” runner.rb
–runner=console -v socket/test_unix
Loaded suite test_unix
Started
test_addr(TestUNIXSocket): ./socket/test_unix.rb:44:in initialize': Interrupt from ./socket/test_unix.rb:44:intest_addr’
from ./socket/test_unix.rb:37:in bound_unix_socket' from ./socket/test_unix.rb:43:intest_addr’
from /var/tmp/ruby-1.8.5/lib/test/unit/testcase.rb:70:in run' from /var/tmp/ruby-1.8.5/lib/test/unit/testsuite.rb:32:inrun’
from /var/tmp/ruby-1.8.5/lib/test/unit/testsuite.rb:31:in run' from /var/tmp/ruby-1.8.5/lib/test/unit/testsuite.rb:32:inrun’
from /var/tmp/ruby-1.8.5/lib/test/unit/testsuite.rb:31:in run' from /var/tmp/ruby-1.8.5/lib/test/unit/ui/testrunnermediator.rb:44:inrun_suite’
from
/var/tmp/ruby-1.8.5/lib/test/unit/ui/console/testrunner.rb:65:in
start_mediator' from /var/tmp/ruby-1.8.5/lib/test/unit/ui/console/testrunner.rb:39:instart’
from
/var/tmp/ruby-1.8.5/lib/test/unit/ui/testrunnerutilities.rb:27:in run' from /var/tmp/ruby-1.8.5/lib/test/unit/autorunner.rb:200:inrun’
from /var/tmp/ruby-1.8.5/lib/test/unit/autorunner.rb:13:in `run’
from runner.rb:7
make: *** [test-all] Error 1

e$BD4$Y$F$$k$H!"e(BUNIXSocket
e$B%$%s%9%?%s%9$r:n$k;[email protected]$G;
$^$C$F$7$^$&$h$&$G$9!#e(B

% /var/tmp/ruby/bin/ruby -v -rsocket -e’s = UNIXServer.new(“hoge”); c =
UNIXSocket.new(“hoge”)’
ruby 1.8.5 (2006-07-18) [i386-cygwin]
(e$BLa$C$F$3$J$$e(B)

e$B$3$N8=>]$O!"e(B1.8.4 e$B$G$bH/@8$9$k$h$&$G$9!#e(B

% ruby -v -rsocket -e’s = UNIXServer.new(“hoge”); c =
UNIXSocket.new(“hoge”)’
ruby 1.8.4 (2005-12-24) [i386-cygwin]
(e$BLa$C$F$3$J$$e(B)

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:29080] UNIXSocket problem with ruby 1.8.5
preview2 on cygwin”
on Wed, 19 Jul 2006 22:41:52 +0900, Kouhei Y.
[email protected] writes:

|Cygwin e$B4D6-$K$*$$$F!"e(BTestUNIXSocket e$B$Ne(B test_addr e$B$G;_$^$k$h$&$G$9!#e(B
|C-c e$B$G=N;$5$;$?7k2L$O0J2<$N$H$$j$G$9!#e(B

Cygwine$B$Ge(BUNIXSockete$B$,;H$($k$s$G$9$+!#$&!<$s!“H>C<$JBP1~$J$i$Je(B
e$B$$$[$&$,$h$$$J$”!"$I$&[email protected]$+!#e(B

In message [email protected]
on Wed, 19 Jul 2006 23:20:48 +0900,
Yukihiro M. [email protected] wrote:

|Cygwin e$B4D6-$K$*$$$F!"e(BTestUNIXSocket e$B$Ne(B test_addr e$B$G;_$^$k$h$&$G$9!#e(B
|C-c e$B$G=N;$5$;$?7k2L$O0J2<$N$H$$j$G$9!#e(B

Cygwine$B$Ge(BUNIXSockete$B$,;H$($k$s$G$9$+!#$&!<$s!“H>C<$JBP1~$J$i$Je(B
e$B$$$[$&$,$h$$$J$”!"$I$&[email protected]$+!#e(B
e$B$I$&$d$C$F<BAu$5$l$F$k$s$G$7$g$&$Me(B?

[email protected](B(e$B:#$be(B?)e$B!“e(BSunOS 5.xe$B$G$O56J*e(BUNIX domain
sockete$B$H$$$&OC$b$”$C$?$h$&$J!#e(B

In article [email protected],
Kouhei Y. [email protected] writes:

Cygwin e$B4D6-$K$*$$$F!"e(BTestUNIXSocket e$B$Ne(B test_addr e$B$G;_$^$k$h$&$G$9!#e(B
C-c e$B$G=N;$5$;$?7k2L$O0J2<$N$H$$j$G$9!#e(B

cygwin e$B$Ne(B UNIX domain socket e$B$K$D$-$"$C$F$b$7$+$?$J$$$H$$$&e(B
e$B5$$,$9$k$N$G!"e(Bcygwin e$B$G$Oe(B test e$B$7$J$$$3$H$K$7$^$7$?!#e(B

e$B$o$?$J$Y$G$9!#e(B

Yukihiro M. [email protected] writes:

Cygwine$B$Ge(BUNIXSockete$B$,;H$($k$s$G$9$+!#$&!<$s!“H>C<$JBP1~$J$i$Je(B
e$B$$$[$&$,$h$$$J$”!"$I$&[email protected]$+!#e(B

e$B3N$+e(Bsockete$B$G%(%_%e%l!<%H$7$F$?$h$&$J!#e(B
screene$B$+$J$K$+$rF0$+$9$?$a$K<BAu$5$l$?$H$+!#e(B
e$B$J$N$Ge(BCygwine$B0J30$+$i$OMxMQ$G$-$^$;$s!#e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs