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

Commit2e57ffe

Browse files
Skip \password TAP test on old IPC::Run versions
IPC::Run versions prior to 0.98 cause the interactive session to time out,so SKIP the test in case these versions are detected (they are within thebase requirement for our TAP tests in general). Error reported by the BFand investigation by Tom Lane.Discussion:https://postgr.es/m/414A86BD-986B-48A7-A1E4-EEBCE5AF08CB@yesql.se
1 parent0e9b271 commit2e57ffe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,12 @@ sub test_conn
102102
is($res,'SCRAM-SHA-256$1024:','scram_iterations in server side ROLE');
103103

104104
# If we don't have IO::Pty, forget it, because IPC::Run depends on that
105-
# to support pty connections
105+
# to support pty connections. Also skip if IPC::Run isn't at least 0.98
106+
# as earlier version cause the session to time out.
106107
SKIP:
107108
{
108-
skip"IO::Pty required", 1unlesseval {require IO::Pty; };
109+
skip"IO::Pty and IPC::Run >= 0.98 required", 1unless
110+
(eval {require IO::Pty; } &&eval {$IPC::Run::VERSION >='0.98' });
109111

110112
# Alter the password on the created role using \password in psql to ensure
111113
# that clientside password changes use the scram_iterations value when

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp