pgsql: pg_validatebackup: Adjust TAP tests to placate perlcritic.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_validatebackup: Adjust TAP tests to placate perlcritic.
Date: 2020-04-03 19:32:40
Message-ID: E1jKS3U-00056O-Qy@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_validatebackup: Adjust TAP tests to placate perlcritic.

It seems that we have a policy that every Perl subroutine should
end with an explicit "return", so add explicit "return"
statements to all the new subroutines added by my prior
commit 0d8c9c1210c44b36ec2efcb223a1dfbe897a3661.

Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/87e300434058a157bbc4ef8d039937abdefa7610

Modified Files
--------------
src/bin/pg_validatebackup/t/003_corruption.pl | 13 +++++++++++++
src/bin/pg_validatebackup/t/005_bad_manifest.pl | 3 +++
2 files changed, 16 insertions(+)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2020-04-03 19:44:50 pgsql: pg_validatebackup: Use tempdir_short in TAP tests.
Previous Message Robert Haas 2020-04-03 19:07:08 pgsql: Generate backup manifests for base backups, and validate them.