Simplify newline handling in two TAP tests
authorMichael Paquier <michael@paquier.xyz>
Mon, 27 Oct 2025 23:26:42 +0000 (08:26 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 27 Oct 2025 23:26:42 +0000 (08:26 +0900)
commit8767b449a3a1e75626dfb08f24da54933171d4c5
tree5a153d79f2ae7dbaf371bb9816b6b53c8693e8b5
parent123661427b974777ed00abcfa10443d0ca525b3c
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
src/interfaces/libpq/t/006_service.pl
src/test/ldap/t/003_ldap_connection_param_lookup.pl