Thread: pgsql: Simplify matching pattern check in TAP tests of pg_receivewal

pgsql: Simplify matching pattern check in TAP tests of pg_receivewal

From
Michael Paquier
Date:
Simplify matching pattern check in TAP tests of pg_receivewal

A check in the ZLIB portion of the test to match the name of a
non-compressed partial segment with a completed compressed segment was
using m//, while a simple equality check is enough.  This makes the test
a bit stricter without impacting its coverage.

Author: Kyotaro Horiguchi
Discussion: https://postgr.es/m/20210726.174622.826565852378770261.horikyota.ntt@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/24ba1a87e4056ec34c8a685633a1a14fb89e5700

Modified Files
--------------
src/bin/pg_basebackup/t/020_pg_receivewal.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)