From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0FFA51F547 for ; Sun, 11 Jun 2023 21:33:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yhbt.net; s=selector1; t=1686519209; bh=iEqwIl3ZbIPQYQ9/IQUA2nuPFQjK5iJBwzX7eCJCxt0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=f23q7OeDAFu2bErjQJH+2XI1ir9wgnCZZigomLSrDhInwk9bGI7fwN7LZaVJeJ+Yp ScmihfDqcpafD+cSq2PWBul/VR7ijLZt6n4SaIBRl0jA2fhviGs4Q70zaolureqoNE W6E2VjuS+BFunYcx3GcW2nOhpdHkDZK4Qi4TOMPI= From: Eric Wong To: raindrops-public@yhbt.net Subject: [PATCH 4/4] test_linux_reuseport_tcp_listen_stats: skip w/o unicorn Date: Sun, 11 Jun 2023 21:33:28 +0000 Message-Id: <20230611213328.379546-5-bofh@yhbt.net> In-Reply-To: <20230611213328.379546-1-bofh@yhbt.net> References: <20230611213328.379546-1-bofh@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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 @@ def test_reuseport_queue_stats 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)