Use \b in one more PG_TEST_EXTRA check, oversight in c3382a3c3cc
authorAndres Freund <andres@anarazel.de>
Wed, 21 Sep 2022 01:11:10 +0000 (18:11 -0700)
committerAndres Freund <andres@anarazel.de>
Wed, 21 Sep 2022 01:11:35 +0000 (18:11 -0700)
Per off-list report from Thomas Munro.

src/test/ssl/t/001_ssltests.pl

index c77bc9ef500a000fa75d6514af00d54ac4af40da..efe5634fff2626035000f49c7549daaea43cf729 100644 (file)
@@ -17,7 +17,7 @@ if ($ENV{with_ssl} ne 'openssl')
 {
    plan skip_all => 'OpenSSL not supported by this build';
 }
-elsif ($ENV{PG_TEST_EXTRA} !~ /ssl/)
+elsif ($ENV{PG_TEST_EXTRA} !~ /\bssl\b/)
 {
    plan skip_all => 'Potentially unsafe test SSL not enabled in PG_TEST_EXTRA';
 }