Skip to content

Commit d04cfe8

Browse files
author
Your Name
committed
attempt to fix check
1 parent 1ee8059 commit d04cfe8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/test/pam/t/001_auth.pl‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@
1717
{
1818
plan skip_all => 'PAM not supported by this build';
1919
}
20-
elsif (!$ENV{PG_TEST_EXTRA} || $ENV{PG_TEST_EXTRA} !~ /\bpam\b/)
20+
21+
if (!$ENV{PG_TEST_EXTRA} || $ENV{PG_TEST_EXTRA} !~ /\bpam\b/)
2122
{
2223
plan skip_all =>
2324
'Potentially unsafe test PAM not enabled in PG_TEST_EXTRA';
2425
}
25-
elsif (check_pg_config("#define HAVE_PAM_START_CONFDIR 0"))
26+
27+
if (!check_pg_config("#define HAVE_PAM_START_CONFDIR 1"))
2628
{
2729
plan skip_all =>
2830
'PAM tests requires Postgres build with pam library that supports pam_start_confdir function';

0 commit comments

Comments
 (0)