Re: Make more portable TAP tests of initdb

From: David Fetter <david(at)fetter(dot)org>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Make more portable TAP tests of initdb
Date: 2015-04-14 19:54:59
Message-ID: 20150414195459.GA23915@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)2ndquadrant(dot)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(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2015-04-14 20:21:39 Re: Make more portable TAP tests of initdb
Previous Message Alvaro Herrera 2015-04-14 18:52:18 Re: inherit support for foreign tables