pgsql: Simplify newline handling in two TAP tests

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Simplify newline handling in two TAP tests
Date: 2025-10-27 23:27:32
Message-ID: E1vDWce-003pjA-2e@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Simplify newline handling in two TAP tests

Two tests are changed in this commit:
- libpq's 006_service
- ldap's 003_ldap_connection_param_lookup

CRLF translation is already handled by the text mode, so there should be
need for any specific logic. See also 1c6d4629394d, msys perl being one
case where the translation mattered.

Note: This is first applied on HEAD, and backpatch will follow once the
buildfarm has provided an opinion about this commit.

Author: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Co-authored-by: Michael Paquier <michael(at)paquier(dot)xyz>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Discussion: https://postgr.es/m/aPsh39bxwYKvUlAf@paquier.xyz
Backpatch-through: 13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8767b449a3a1e75626dfb08f24da54933171d4c5

Modified Files
--------------
src/interfaces/libpq/t/006_service.pl | 12 ++----
.../ldap/t/003_ldap_connection_param_lookup.pl | 43 ++++++++--------------
2 files changed, 20 insertions(+), 35 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2025-10-28 05:52:13 pgsql: Add worker type argument to logical replication worker functions
Previous Message Nathan Bossart 2025-10-27 15:30:30 pgsql: Fix a couple of comments.