Re: Make more portable TAP tests of initdb - Mailing list pgsql-hackers

From David Fetter
Subject Re: Make more portable TAP tests of initdb
Date
Msg-id 20150414195459.GA23915@fetter.org
Whole thread Raw
In response to Re: Make more portable TAP tests of initdb  ("David E. Wheeler" <david@justatheory.com>)
List pgsql-hackers
On Tue, Apr 14, 2015 at 09:25:33AM -0700, David E. Wheeler wrote:
> On Apr 14, 2015, at 9:05 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> 
> >> http://perldoc.perl.org/File/Path.html
> >> With this formulation:
> >> remove_tree($tempdir, {keep_root => 1});
> > 
> > Does Perl 5.8 have this?
> 
> Yes, it does.
> 
>   http://cpansearch.perl.org/src/NWCLARK/perl-5.8.9/lib/File/Path.pm

One way to avoid a lot of these questions would be to use
Test::MinimumVersion or similar in a git hook.  If we're promising
5.8.mumble, we should be able to keep that promise always rather than
search case by case, at least up to bugs in the version-checking
software.

http://search.cpan.org/~rjbs/Test-MinimumVersion-0.101081/lib/Test/MinimumVersion.pm

What say?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: inherit support for foreign tables
Next
From: Alvaro Herrera
Date:
Subject: Re: Make more portable TAP tests of initdb