aboutsummaryrefslogtreecommitdiff
path: root/src/test/authentication/t/001_password.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/authentication/t/001_password.pl')
-rw-r--r--src/test/authentication/t/001_password.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/authentication/t/001_password.pl b/src/test/authentication/t/001_password.pl
index 9340f2f1ab4..c8dc6606be9 100644
--- a/src/test/authentication/t/001_password.pl
+++ b/src/test/authentication/t/001_password.pl
@@ -57,10 +57,11 @@ $node->start;
# Create 3 roles with different password methods for each one. The same
# password is used for all of them.
$node->safe_psql('postgres',
-"SET password_encryption='scram-sha-256'; CREATE ROLE scram_role LOGIN PASSWORD 'pass';"
+ "SET password_encryption='scram-sha-256'; CREATE ROLE scram_role LOGIN PASSWORD 'pass';"
);
$node->safe_psql('postgres',
-"SET password_encryption='md5'; CREATE ROLE md5_role LOGIN PASSWORD 'pass';");
+ "SET password_encryption='md5'; CREATE ROLE md5_role LOGIN PASSWORD 'pass';"
+);
$ENV{"PGPASSWORD"} = 'pass';
# For "trust" method, all users should be able to connect.