pgsql: Simplify matching pattern check in TAP tests of pg_receivewal

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Simplify matching pattern check in TAP tests of pg_receivewal
Date: 2021-07-27 02:03:04
Message-ID: E1m8CQy-0007Lj-2A@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2021-07-27 02:38:49 pgsql: pg_resetxlog: add option to set oldest xid & use by pg_upgrade
Previous Message Michael Paquier 2021-07-27 01:41:12 pgsql: Skip trailing whitespaces when parsing integer options