Re: pgsql: Check that we have a working tar before trying to use it - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Check that we have a working tar before trying to use it
Date
Msg-id 3655283.1638977975@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Check that we have a working tar before trying to use it  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pgsql: Check that we have a working tar before trying to use it  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-committers
Andrew Dunstan <andrew@dunslane.net> writes:
> Check that we have a working tar before trying to use it

I don't like the way you did this:

+         || system_log($tar, '--version') != 0);

ISTM that effectively restricts the test to only running
on machines with GNU tar, which basically removes all the
interest of it.  We know what GNU tar does ... it's the
weird legacy tar versions that might teach us something.
See 57b5a9646 for a recent example of the sort of bug
this test can no longer find.

            regards, tom lane



pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Check that we have a working tar before trying to use it
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Check that we have a working tar before trying to use it