[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/7] tests: avoid use of '-T' in shebang line to enable perl
From: |
Jim Meyering |
Subject: |
Re: [PATCH 4/7] tests: avoid use of '-T' in shebang line to enable perl taint mode |
Date: |
Thu, 30 Aug 2012 16:50:27 +0200 |
Stefano Lattarini wrote:
> On 08/30/2012 04:21 PM, Jim Meyering wrote:
>> Stefano Lattarini wrote:
>>> * tests/rm/fail-eperm: Rename ...
>>> * tests/rm/fail-eperm.xpl: ... like this
>>> * tests/Makefile.am (TESTS): Adjust.
>>> (TEST_EXTENSIONS): New, list '.xpl'.
>>> (XPL_TEST_LOGS): New, run a perl test in tainted mode.
>>> * tests/shell-or-perl: Simplify this script: we no longer need to
>>> parse the shebang line and adjust the flags in the perl invocation
>>> accordingly.
>>> ---
>>> tests/Makefile.am | 8 +++++++-
>>> tests/rm/{fail-eperm => fail-eperm.xpl} | 0
>>> tests/shell-or-perl | 9 ++-------
>>> 3 files changed, 9 insertions(+), 8 deletions(-)
>>> rename tests/rm/{fail-eperm => fail-eperm.xpl} (100%)
>>
>> Thanks for working on all of this.
>>
>> This patch turns off -T (taint-checking) for all but one of the perl-based
>> test scripts.
>>
> Which, unless I'm mistaken, is the same behaviour we had *before* the patch.
> Or am I missing something.
Oh... I was relying on memory rather than looking at code.
You're right. Only that one test currently uses -T.
- [PATCH 0/7] Reorganization of the coreutils test harness, Stefano Lattarini, 2012/08/30
- [PATCH 7/7] tests: get rid of the 'shell-or-perl' auxiliary script, Stefano Lattarini, 2012/08/30
- [PATCH 3/7] build: require Automake >= 1.11.6, Stefano Lattarini, 2012/08/30
- Re: [PATCH 3/7] build: require Automake >= 1.11.6, Jim Meyering, 2012/08/30
- Re: [PATCH 3/7] build: require Automake >= 1.11.6, Bernhard Voelker, 2012/08/30
- Re: [PATCH 3/7] build: require Automake >= 1.11.6, Jim Meyering, 2012/08/31
- Re: [PATCH 3/7] build: require Automake >= 1.11.6, Bernhard Voelker, 2012/08/31
- Re: [PATCH 3/7] build: require Automake >= 1.11.6, Stefano Lattarini, 2012/08/31
- Re: [PATCH 3/7] build: require Automake >= 1.11.6, Jim Meyering, 2012/08/31
- Re: [PATCH 3/7] build: require Automake >= 1.11.6, Bernhard Voelker, 2012/08/31