mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Exclude more UNIXSocket tests under Windows
This commit is contained in:
parent
af609a1f90
commit
3e2ca26b83
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
require "rbconfig"
|
||||
require 'test/unit'
|
||||
require 'puma/cli'
|
||||
require 'tempfile'
|
||||
|
@ -27,7 +28,7 @@ class TestCLI < Test::Unit::TestCase
|
|||
assert_equal File.read(@tmp_path).strip.to_i, Process.pid
|
||||
end
|
||||
|
||||
unless defined? JRUBY_VERSION
|
||||
unless defined?(JRUBY_VERSION) || RbConfig::CONFIG["host_os"] =~ /mingw|mswin/
|
||||
def test_control
|
||||
url = "unix://#{@tmp_path}"
|
||||
|
||||
|
@ -95,7 +96,7 @@ class TestCLI < Test::Unit::TestCase
|
|||
|
||||
assert m, "'#{url}' is not a URL"
|
||||
end
|
||||
end
|
||||
end # JRUBY or Windows
|
||||
|
||||
def test_state
|
||||
url = "tcp://127.0.0.1:8232"
|
||||
|
|
Loading…
Reference in a new issue