pgsql: Simplify newline handling in two TAP tests - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Simplify newline handling in two TAP tests
Date
Msg-id E1vDWce-003pjA-2e@gemulon.postgresql.org
Whole thread Raw
List 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.champion@enterprisedb.com>
Co-authored-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Daniel Gustafsson <daniel@yesql.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(-)


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Fix a couple of comments.
Next
From: Amit Kapila
Date:
Subject: pgsql: Add worker type argument to logical replication worker functions