mirror of https://github.com/postgres/postgres
Test for PG_TEST_EXTRA separately in SSL tests
PG_TEST_EXTRA is an override and should be tested for separately from any other test as there is no dependency on whether OpenSSL is available or not. Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/01F4684C-8C98-4BBE-AB83-AC8D7C746AF8@yesql.se
This commit is contained in:
parent
31a98934d1
commit
e5f1f0a4f2
|
@ -17,7 +17,7 @@ if ($ENV{with_ssl} ne 'openssl')
|
|||
{
|
||||
plan skip_all => 'OpenSSL not supported by this build';
|
||||
}
|
||||
elsif (!$ENV{PG_TEST_EXTRA} || $ENV{PG_TEST_EXTRA} !~ /\bssl\b/)
|
||||
if (!$ENV{PG_TEST_EXTRA} || $ENV{PG_TEST_EXTRA} !~ /\bssl\b/)
|
||||
{
|
||||
plan skip_all =>
|
||||
'Potentially unsafe test SSL not enabled in PG_TEST_EXTRA';
|
||||
|
|
|
@ -20,7 +20,7 @@ if ($ENV{with_ssl} ne 'openssl')
|
|||
{
|
||||
plan skip_all => 'OpenSSL not supported by this build';
|
||||
}
|
||||
elsif (!$ENV{PG_TEST_EXTRA} || $ENV{PG_TEST_EXTRA} !~ /\bssl\b/)
|
||||
if (!$ENV{PG_TEST_EXTRA} || $ENV{PG_TEST_EXTRA} !~ /\bssl\b/)
|
||||
{
|
||||
plan skip_all =>
|
||||
'Potentially unsafe test SSL not enabled in PG_TEST_EXTRA';
|
||||
|
|
|
@ -18,7 +18,7 @@ if ($ENV{with_ssl} ne 'openssl')
|
|||
{
|
||||
plan skip_all => 'OpenSSL not supported by this build';
|
||||
}
|
||||
elsif (!$ENV{PG_TEST_EXTRA} || $ENV{PG_TEST_EXTRA} !~ /\bssl\b/)
|
||||
if (!$ENV{PG_TEST_EXTRA} || $ENV{PG_TEST_EXTRA} !~ /\bssl\b/)
|
||||
{
|
||||
plan skip_all =>
|
||||
'Potentially unsafe test SSL not enabled in PG_TEST_EXTRA';
|
||||
|
|
Loading…
Reference in New Issue