pgsql: Adjust new TAP test to work on macOS. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Adjust new TAP test to work on macOS.
Date
Msg-id E1v69uw-000WsT-3C@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Adjust new TAP test to work on macOS.
List pgsql-committers
Adjust new TAP test to work on macOS.

Seems Apple's version of "wc -l" puts spaces before the number.
(I wonder why the cfbot didn't find this.)  While here, make
the failure case log what it got, to aid debugging future issues.

Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/afd532c3a80c12a9c0f836c5e4fc3cfe6503b91f

Modified Files
--------------
src/bin/psql/t/030_pager.pl | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Improve psql's ability to select pager mode accurately.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Adjust new TAP test to work on macOS.