Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd60ab76

Browse files
committed
Silence perlcritic warnings in new libpq tests
Per buildfarm member 'koel'.
1 parent91044ae commitd60ab76

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/test/libpq_encryption/t/001_negotiate_encryption.pl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@
135135
||die"copying server.crt:$!";
136136
copy"$certdir/server-cn-only.key","$pgdata/server.key"
137137
||die"copying server.key:$!";
138-
chmod(0600,"$pgdata/server.key");
138+
chmod(0600,"$pgdata/server.key")
139+
ordie"failed to change permissions on server keys:$!";
139140

140141
# Start with SSL disabled.
141142
$node->append_conf('postgresql.conf',"ssl = off\n");
@@ -181,7 +182,7 @@ BEGIN
181182

182183
# Only accept SSL connections from $servercidr. Our tests don't depend on this
183184
# but seems best to keep it as narrow as possible for security reasons.
184-
openmy$hba,'>',"$pgdata/pg_hba.conf";
185+
openmy$hba,'>',"$pgdata/pg_hba.conf"ordie$!;
185186
print$hbaqq{
186187
# TYPE DATABASE USER ADDRESS METHOD OPTIONS
187188
local postgres localuser trust

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp