pgpool: Test: more fix to 038.pcp_commands regression test.

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Test: more fix to 038.pcp_commands regression test.
Date: 2025-06-27 06:57:15
Message-ID: E1uV31O-00Fmq4-1O@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Test: more fix to 038.pcp_commands regression test.

Commit 04e09df17 was not enough fix. The test calls pcp_proc_info()
pgpool_adm function along with user name and password (in the test
password is the same string as user name). Problem is, the user name
is obtained from a user name that runs the test, and we use psql -a to
submit the SQL, which prints the user name. Of course the user name
can vary depending on the environment, and it makes the test fail. To
fix the issue, run psql without -a option.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=b76c6876de4bca2da5e009f5cc64212060ccb1fb

Modified Files
--------------
src/test/regression/tests/038.pcp_commands/expected | 4 ----
src/test/regression/tests/038.pcp_commands/test.sh | 2 +-
2 files changed, 1 insertion(+), 5 deletions(-)

Browse pgpool-committers by date

  From Date Subject
Next Message Bo Peng 2025-06-30 02:58:06 pgpool: Fix broken scram-sha-256 authentication on big-endian machies.
Previous Message Tatsuo Ishii 2025-06-25 10:37:47 pgpool: Test: fix 038.pcp_commands regression test.