diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-10-02 21:36:38 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-10-02 23:14:56 +0000 |
commit | b3f2f4645b1d849817d7b38d64db45cd640c9a94 (patch) | |
tree | c6b1b8866dfeae41b2c6569175ff4f62ecfc142d | |
parent | d07658376f6b05c85ca0763fb06a610a9211fb77 (diff) | |
download | public-inbox-b3f2f4645b1d849817d7b38d64db45cd640c9a94.tar.gz |
This is better than recommending running the script directly because it will ensure the correct version of perl is used.
-rw-r--r-- | t/httpd-https.t | 2 | ||||
-rw-r--r-- | t/nntpd-tls.t | 2 | ||||
-rw-r--r-- | 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 410ae658..22c62bf4 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 e961965b..1a74924c 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 532ef729..87829b03 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}; |