From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS11403 66.111.4.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 348C11F4BE for ; Wed, 2 Oct 2019 21:37:12 +0000 (UTC) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3A8B321F83; Wed, 2 Oct 2019 17:37:11 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 02 Oct 2019 17:37:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=Uq3F2dV4bQpTL JZt6+qq6KEvrCDjznkj7MAYEGXlpWQ=; b=izGxbV2WlntvD0colESSLqHINQ3EX 9PzRZjLrKp54cZmx9rvdBQ9zQI+OWzfnKgZSMjYxgzvv5k2uopslJYorOfCwztI7 KNfONFuqUWEpqGhKdova7MXcNlO3UQb9vL942v72O2zqpMobEpjhqiZQX+P+i1p7 BVGG7rKGSPIZgXhAorecbLMASUlZwpbV+pLnhnfxMe7Drl+hExLqtNN/HY/EgOP2 WAPhWVOU9zwxvPXB5CI41KGiNxwibxGopmDU9s9sg3V1LeC3Cb/G+gIJtgTe6Dfr iHhmkZaFCqAgx8JIjsSPBpkiAr3oms5yYjyDVedvgY82XqdwoUDqt0DGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=Uq3F2dV4bQpTLJZt6+qq6KEvrCDjznkj7MAYEGXlpWQ=; b=WLjWU3eg j66fw1AgymXsZJPnX6JzJPg9TrGmNlZ6fUZA83c2YNoqj6sQU+h9rvqg0ZmppwoM mvK0WZFys4Fr9zS6PV9ygfXgoNsl5UOJNbnQa4Pop38ngDTweqAAcgwFJYjPKkDA GzT+RCCFq4d14X19tkLZIoIC5sa/xEaw5Q3M3mFxxJ1SYIqR/dW6klJSeimWqZ8d Am77sqLdbMzr9yvkerRbifq3eWDi/oxtXvY0mGJOGjgqJvn83SqJI39LM58HIumL QbB1qNVBupHpEbIp0nY/s6VhFrYdtkakK+103RxSl4BMMhzKeGXKR2RAxzuxA55L LG4BAys6cTaQBA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrgeeigdduiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlhihsshgrucftohhsshcuoehhihesrghlhihsshgrrdhi sheqnecukfhppeekgedrudekgedrvddvgedrudehtdenucfrrghrrghmpehmrghilhhfrh homhephhhisegrlhihshhsrgdrihhsnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (p54b8e096.dip0.t-ipconnect.de [84.184.224.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 2A8ADD60057; Wed, 2 Oct 2019 17:37:10 -0400 (EDT) From: Alyssa Ross To: Eric Wong Cc: meta@public-inbox.org, Alyssa Ross Subject: [PATCH] tests: recommend running create-certs.pl with $^X Date: Wed, 2 Oct 2019 21:36:38 +0000 Message-Id: <20191002213638.18134-1-hi@alyssa.is> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191001205814.GA19918@dcvr> References: <20191001205814.GA19918@dcvr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This is better than recommending running the script directly because it will ensure the correct version of perl is used. --- t/httpd-https.t | 2 +- t/nntpd-tls.t | 2 +- t/nntpd-validate.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/t/httpd-https.t b/t/httpd-https.t index 410ae65..22c62bf 100644 --- a/t/httpd-https.t +++ b/t/httpd-https.t @@ -14,7 +14,7 @@ my $cert = 'certs/server-cert.pem'; my $key = 'certs/server-key.pem'; unless (-r $key && -r $cert) { plan skip_all => - "certs/ missing for $0, run ./create-certs.perl in certs/"; + "certs/ missing for $0, run $^X ./create-certs.perl in certs/"; } use_ok 'PublicInbox::TLS'; use_ok 'IO::Socket::SSL'; diff --git a/t/nntpd-tls.t b/t/nntpd-tls.t index e961965..1a74924 100644 --- a/t/nntpd-tls.t +++ b/t/nntpd-tls.t @@ -20,7 +20,7 @@ my $cert = 'certs/server-cert.pem'; my $key = 'certs/server-key.pem'; unless (-r $key && -r $cert) { plan skip_all => - "certs/ missing for $0, run ./create-certs.perl in certs/"; + "certs/ missing for $0, run $^X ./create-certs.perl in certs/"; } use_ok 'PublicInbox::TLS'; diff --git a/t/nntpd-validate.t b/t/nntpd-validate.t index 532ef72..87829b0 100644 --- a/t/nntpd-validate.t +++ b/t/nntpd-validate.t @@ -32,7 +32,7 @@ my $test_tls = $ENV{TEST_SKIP_TLS} ? 0 : eval { require IO::Socket::SSL }; my $cert = 'certs/server-cert.pem'; my $key = 'certs/server-key.pem'; if ($test_tls && !-r $key || !-r $cert) { - plan skip_all => "certs/ missing for $0, run ./certs/create-certs.perl"; + plan skip_all => "certs/ missing for $0, run $^X ./certs/create-certs.perl"; } require './t/common.perl'; my $keep_tmp = !!$ENV{TEST_KEEP_TMP}; -- 2.23.0