From 068a1f4ceeb77209503daad564735e354fd52445 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 11 Jun 2023 21:33:28 +0000 Subject: test_linux_reuseport_tcp_listen_stats: skip w/o unicorn We don't list `unicorn' as a development dependency since unicorn currently depends on this project. While unicorn might drop us as a dependency, don't waste disk space and bandwidth of potential raindrops hackers who don't have unicorn. --- test/test_linux_reuseport_tcp_listen_stats.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_linux_reuseport_tcp_listen_stats.rb b/test/test_linux_reuseport_tcp_listen_stats.rb index 73995ea..4fda218 100644 --- a/test/test_linux_reuseport_tcp_listen_stats.rb +++ b/test/test_linux_reuseport_tcp_listen_stats.rb @@ -48,4 +48,4 @@ class TestLinuxReuseportTcpListenStats < Test::Unit::TestCase assert_equal [0, i+1], all[addr].to_a end end -end if RUBY_PLATFORM =~ /linux/ +end if RUBY_PLATFORM =~ /linux/ && Object.const_defined?(:Unicorn) -- cgit v1.2.3-24-ge0c7