pgpool2.git / summary / log / commit / refs

commit    e30bb2ead3ced75639c3272ceeaa8d880b94b2a0
Author:   Tatsuo Ishii <ishii@postgresql.org>
Date:     Sun Jun 08 11:25:48 2025 +0000

    Test: stabilize 029.cert_passphrase regression test.
    
    When ssl_passphrase_command is not valid, the error message is
    typically "bad decrypt" but it seems sometimes "wrong tag".


src/test/regression/tests/029.cert_passphrase/test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/regression/tests/029.cert_passphrase/test.sh b/src/test/regression/tests/029.cert_passphrase/test.sh index 236a9807f..7d037c106 100755 --- a/src/test/regression/tests/029.cert_passphrase/test.sh +++ b/src/test/regression/tests/029.cert_passphrase/test.sh @@ -103,7 +103,9 @@ wait_for_pgpool_startup $PSQL -h localhost -c "select 1" test -grep "could not load private key file" log/pgpool.log|grep "bad decrypt" +# The error message is typically "bad decrypt". +# But it seems sometimes "wrong tag". +grep "could not load private key file" log/pgpool.log|egrep "bad decrypt|wrong tag" if [ $? != 0 ];then echo "Checking cert with invalid password failed." ./shutdownall [parent: a691bcf4dc12]