diff options
| author | Tatsuo Ishii | 2025-06-08 11:25:48 +0000 |
|---|---|---|
| committer | Tatsuo Ishii | 2025-06-08 11:25:48 +0000 |
| commit | e30bb2ead3ced75639c3272ceeaa8d880b94b2a0 (patch) | |
| tree | 72a97fb0e689b1379003b7286f55fe934a0ef988 /src/test/regression | |
| parent | a691bcf4dc12a05937310b85abc8b471c4671e8c (diff) | |
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".
Diffstat (limited to 'src/test/regression')
| -rwxr-xr-x | src/test/regression/tests/029.cert_passphrase/test.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
