summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-socket/test/unix.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-12-09 14:22:53 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-12-09 14:22:53 +0900
commit761218e70b99c9f42008692f70d2f3cd8551b76e (patch)
tree04ee48f32e3abfbc3f7e05c793b27918f7b6d7e0 /mrbgems/mruby-socket/test/unix.rb
parentb103fa229db7b161b81012dc6da029a4d478e5f9 (diff)
downloadmruby-761218e70b99c9f42008692f70d2f3cd8551b76e.tar.gz
mruby-761218e70b99c9f42008692f70d2f3cd8551b76e.zip
Skip socket tests on Windows platform.
Some test may be OK but we skip everything as a starting point.
Diffstat (limited to 'mrbgems/mruby-socket/test/unix.rb')
-rw-r--r--mrbgems/mruby-socket/test/unix.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/mrbgems/mruby-socket/test/unix.rb b/mrbgems/mruby-socket/test/unix.rb
index 88ad17101..1eb7365c5 100644
--- a/mrbgems/mruby-socket/test/unix.rb
+++ b/mrbgems/mruby-socket/test/unix.rb
@@ -1,3 +1,5 @@
+unless SocketTest.win?
+
def unixserver_test_block
path = SocketTest.tmppath
File.unlink path rescue nil
@@ -124,3 +126,5 @@ assert('UNIXSocket#recvfrom') do
# a[1][1] would be "" or something
end
end
+
+end # win?