aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ssl/t/001_ssltests.pl7
-rw-r--r--src/test/ssl/t/SSLServer.pm (renamed from src/test/ssl/ServerSetup.pm)2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/test/ssl/t/001_ssltests.pl b/src/test/ssl/t/001_ssltests.pl
index 32df2739295..95e38efef30 100644
--- a/src/test/ssl/t/001_ssltests.pl
+++ b/src/test/ssl/t/001_ssltests.pl
@@ -3,9 +3,14 @@ use warnings;
use PostgresNode;
use TestLib;
use Test::More tests => 40;
-use ServerSetup;
+
use File::Copy;
+use FindBin;
+use lib $FindBin::RealBin;
+
+use SSLServer;
+
#### Some configuration
# This is the hostname used to connect to the server. This cannot be a
diff --git a/src/test/ssl/ServerSetup.pm b/src/test/ssl/t/SSLServer.pm
index f63c81cfc67..c2a50300d27 100644
--- a/src/test/ssl/ServerSetup.pm
+++ b/src/test/ssl/t/SSLServer.pm
@@ -14,7 +14,7 @@
# The server is configured to only accept connections from localhost. If you
# want to run the client from another host, you'll have to configure that
# manually.
-package ServerSetup;
+package SSLServer;
use strict;
use warnings;