pgsql: Use test functions in pg_rewind test module

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use test functions in pg_rewind test module
Date: 2022-02-23 10:30:32
Message-ID: E1nMoum-000GYS-TQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use test functions in pg_rewind test module

Commit 61081e75c introduced pg_rewind along with the test suite, which
ensured that subroutines didn't incur more than one test to plan. Now
that we no longer explicitly plan tests (since 549ec201d), we can use
the usual Test::More functions.

Reviewed-by: Andrew Dunstan <andrew(at)dunslane(dot)net>
Discussion: https://postgr.es/m/AA527525-F0CC-4AA2-AF98-543CABFDAF59@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/91d3580535238abf93c67a6d3dce64f0e8c3cc6d

Modified Files
--------------
src/bin/pg_rewind/t/RewindTest.pm | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-02-23 13:32:03 pgsql: Quick exit on log stream child exit in pg_basebackup
Previous Message Daniel Gustafsson 2022-02-23 10:03:42 pgsql: Fix statenames in mergejoin comments