Re: pgsql: Make TAP test suites to work, when @INC does not contain current

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Andres Freund <andres(at)anarazel(dot)de>, Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Make TAP test suites to work, when @INC does not contain current
Date: 2016-10-07 19:04:52
Message-ID: ceefddb2-d847-8736-b8f6-f3a81c85cde1@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 10/07/2016 09:55 PM, Andres Freund wrote:
> Hi,
>
> On 2016-10-07 18:50:27 +0000, Heikki Linnakangas wrote:
>> Make TAP test suites to work, when @INC does not contain current dir.
>>
>> Recent Perl and/or new Linux distributions are starting to remove "." from
>> the @INC list by default. That breaks pg_rewind and ssl test suites, which
>> use helper perl modules that reside in the same directory. To fix, add the
>> current source directory explicitly to prove's include dir.
>>
>> The vcregress.pl script probably also needs something like this, but I
>> wasn't able to remove '.' from @INC on Windows to test this, and don't want
>> to try doing that blindly.
>>
>> Discussion: <20160908204529(dot)flg6nivjuwp5vaoy(at)alap3(dot)anarazel(dot)de>
>>
>> Branch
>> ------
>> master
>
> Don't we need to backpatch this?

Yeah, I just did, just wasn't part of the same "git push".

- Heikki

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2016-10-07 20:57:30 pgsql: Remove bogus mapping from UTF-8 to SJIS conversion table.
Previous Message Heikki Linnakangas 2016-10-07 19:01:26 pgsql: Make TAP test suites to work, when @INC does not contain current