tests: avoid use of '-T' in shebang line to enable perl taint mode
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 30 Aug 2012 12:13:10 +0000 (14:13 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 30 Aug 2012 16:55:59 +0000 (18:55 +0200)
commite44178c59028e3c085a5c89014d44a4f647f3deb
treeeadc6784c01e69ef7dce7173a032c858f0a14a7e
parent8381e35e240361dd7e0cd08edc6e619205d545a2
tests: avoid use of '-T' in shebang line to enable perl taint mode

* 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
tests/rm/fail-eperm.xpl [moved from tests/rm/fail-eperm with 100% similarity]
tests/shell-or-perl