summaryrefslogtreecommitdiff
path: root/src/test/ssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ssl')
-rw-r--r--src/test/ssl/ServerSetup.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ssl/ServerSetup.pm b/src/test/ssl/ServerSetup.pm
index 5ffc0b5385d..3b451a360ad 100644
--- a/src/test/ssl/ServerSetup.pm
+++ b/src/test/ssl/ServerSetup.pm
@@ -38,6 +38,8 @@ our @EXPORT = qw(
# The second argument is a complementary connection string.
sub test_connect_ok
{
+ local $Test::Builder::Level = $Test::Builder::Level + 1;
+
my ($common_connstr, $connstr, $test_name) = @_;
my $cmd = [
@@ -52,6 +54,8 @@ sub test_connect_ok
sub test_connect_fails
{
+ local $Test::Builder::Level = $Test::Builder::Level + 1;
+
my ($common_connstr, $connstr, $expected_stderr, $test_name) = @_;
my $cmd = [