Improve some psql test code

Peter Eisentraut <peter@eisentraut.org>

Commit: fbee60f6a4ff2561f5a5af23959a29967f53fbde
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-02-28T13:06:25Z
Releases: 15.0
Improve some psql test code

Split psql_like() into two functions psql_like() and psql_fails_like()
and make them mirror the existing command_like() and
command_fails_like() more closely.  In particular, follow the
universal convention that the test name is the last argument.

Discussion: https://www.postgresql.org/message-id/3199e176-424e-1bef-f180-c1548466c2da@enterprisedb.com

Files

PathChange+/−
src/bin/psql/t/001_basic.pl modified +29 −30

Discussion