Skip to content

Commit 73aa5e0

Browse files
committed
Add missing $Test::Builder::Level settings
One of these was accidentally removed by c50624c. The others are added by analogy. Discussion: https://www.postgresql.org/message-id/ae1143fb-455c-c80f-ed66-78d45bd93303@enterprisedb.com
1 parent 88b0ae1 commit 73aa5e0

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/test/authentication/t/001_password.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ sub reset_pg_hba
4242
# named parameters are passed to connect_ok/fails as-is.
4343
sub test_role
4444
{
45+
local $Test::Builder::Level = $Test::Builder::Level + 1;
46+
4547
my ($node, $role, $method, $expected_res, %params) = @_;
4648
my $status_string = 'failed';
4749
$status_string = 'success' if ($expected_res eq 0);

src/test/authentication/t/002_saslprep.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ sub reset_pg_hba
3636
# Test access for a single role, useful to wrap all tests into one.
3737
sub test_login
3838
{
39+
local $Test::Builder::Level = $Test::Builder::Level + 1;
40+
3941
my $node = shift;
4042
my $role = shift;
4143
my $password = shift;

src/test/kerberos/t/001_auth.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ END
185185
# Test connection success or failure, and if success, that query returns true.
186186
sub test_access
187187
{
188+
local $Test::Builder::Level = $Test::Builder::Level + 1;
189+
188190
my ($node, $role, $query, $expected_res, $gssencmode, $test_name,
189191
@expect_log_msgs)
190192
= @_;

src/test/ldap/t/001_auth.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ END
166166

167167
sub test_access
168168
{
169+
local $Test::Builder::Level = $Test::Builder::Level + 1;
170+
169171
my ($node, $role, $expected_res, $test_name, %params) = @_;
170172
my $connstr = "user=$role";
171173

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy