diff options
Diffstat (limited to 'tests/misc/cut')
-rwxr-xr-x | tests/misc/cut | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/misc/cut b/tests/misc/cut index 2fc4bed05..3bf52163d 100755 --- a/tests/misc/cut +++ b/tests/misc/cut @@ -16,14 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -: ${PERL=perl} : ${srcdir=.} - -$PERL -e 'use warnings;' > /dev/null 2>&1 || { - echo 1>&2 "$0: configure didn't find a usable version of Perl," \ - "so can't run this test" - exit 77 -} +. $srcdir/../require-perl me=`echo $0|sed 's,.*/,,'` exec $PERL -w -I$srcdir/.. -MCoreutils -M"CuTmpdir qw($me)" -- - <<\EOF |