pgsql: Simplify matching pattern check in TAP tests of pg_receivewal - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Simplify matching pattern check in TAP tests of pg_receivewal
Date
Msg-id E1m8CQy-0007Lj-2A@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Skip trailing whitespaces when parsing integer options
Next
From: Bruce Momjian
Date:
Subject: pgsql: pg_resetxlog: add option to set oldest xid & use by pg_upgrade