pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: pg_validatebackup: Adjust TAP tests to placate perlcritic.
4+ messages / 3 participants
[nested] [flat]
* pgsql: pg_validatebackup: Adjust TAP tests to placate perlcritic.
@ 2020-04-03 19:32 Robert Haas <rhaas@postgresql.org>
0 siblings, 1 reply; 4+ messages in thread
From: Robert Haas @ 2020-04-03 19:32 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
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(+)
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pgsql: pg_validatebackup: Adjust TAP tests to placate perlcritic.
@ 2020-04-03 21:40 Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
parent: Robert Haas <rhaas@postgresql.org>
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Dunstan @ 2020-04-03 21:40 UTC (permalink / raw)
To: Robert Haas <rhaas@postgresql.org>; pgsql-committers@lists.postgresql.org
On 4/3/20 3:32 PM, Robert Haas wrote:
> 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.
It was discussed hereĀ
https://postgr.es/m/CAESHdJpfFm_9wQnQ3koY3c91FoRQsO-fh02za9R3OEMndOn84A@mail.gmail.com
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: pg_validatebackup: Adjust TAP tests to undo permissions change.
@ 2020-04-03 23:07 Robert Haas <rhaas@postgresql.org>
0 siblings, 0 replies; 4+ messages in thread
From: Robert Haas @ 2020-04-03 23:07 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
pg_validatebackup: Adjust TAP tests to undo permissions change.
It may be necessary to go further and remove this test altogether,
but I'm going to try this fix first. It's not clear, at least to
me, exactly how this is breaking buildfarm members, but it appears
to be doing so.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/19c0422ad012636d00ba221bd7052cb71448efca
Modified Files
--------------
src/bin/pg_validatebackup/t/003_corruption.pl | 10 ++++++++++
1 file changed, 10 insertions(+)
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pgsql: pg_validatebackup: Adjust TAP tests to placate perlcritic.
@ 2020-04-03 23:45 Robert Haas <robertmhaas@gmail.com>
parent: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
0 siblings, 0 replies; 4+ messages in thread
From: Robert Haas @ 2020-04-03 23:45 UTC (permalink / raw)
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>; +Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
On Fri, Apr 3, 2020 at 5:40 PM Andrew Dunstan
<andrew.dunstan@2ndquadrant.com> wrote:
> On 4/3/20 3:32 PM, Robert Haas wrote:
> > 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.
>
> It was discussed here
> https://postgr.es/m/CAESHdJpfFm_9wQnQ3koY3c91FoRQsO-fh02za9R3OEMndOn84A@mail.gmail.com
Yeah, I understand that I probably should have been aware of this. I
just wasn't.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2020-04-03 23:45 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-04-03 19:32 pgsql: pg_validatebackup: Adjust TAP tests to placate perlcritic. Robert Haas <rhaas@postgresql.org>
2020-04-03 21:40 ` Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
2020-04-03 23:45 ` Robert Haas <robertmhaas@gmail.com>
2020-04-03 23:07 pgsql: pg_validatebackup: Adjust TAP tests to undo permissions change. Robert Haas <rhaas@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox