From owner-svn-src-all@FreeBSD.ORG Tue Jan 14 18:39:31 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9846F90; Tue, 14 Jan 2014 18:39:31 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 847581283; Tue, 14 Jan 2014 18:39:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0EIdVpm092683; Tue, 14 Jan 2014 18:39:31 GMT (envelope-from jmmv@svn.freebsd.org) Received: (from jmmv@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0EIdVsI092681; Tue, 14 Jan 2014 18:39:31 GMT (envelope-from jmmv@svn.freebsd.org) Message-Id: <201401141839.s0EIdVsI092681@svn.freebsd.org> From: Julio Merino Date: Tue, 14 Jan 2014 18:39:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r260634 - head/bin/pax/tests X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 18:39:31 -0000 Author: jmmv Date: Tue Jan 14 18:39:30 2014 New Revision: 260634 URL: http://svnweb.freebsd.org/changeset/base/260634 Log: Use TAP_TESTS_PERL to register the legacy_test in bin/pax. Redo r260586 by using the new functionality in tap.test.mk to transparently support perl-based test programs. As a side-effect, we get rid of an explicit path to /usr/bin/perl by replacing it with /usr/local/bin/perl (or as defined in tap.test.mk). This also fixes the name of the legacy_test source file because this should have always been legacy_test.pl and not legacy_test.sh. My mistake when originally moving the code around without realizing that this was a perl script. MFC after: 5 days Added: head/bin/pax/tests/legacy_test.pl - copied, changed from r260625, head/bin/pax/tests/legacy_test.sh Deleted: head/bin/pax/tests/Kyuafile head/bin/pax/tests/legacy_test.sh Modified: head/bin/pax/tests/Makefile Modified: head/bin/pax/tests/Makefile ============================================================================== --- head/bin/pax/tests/Makefile Tue Jan 14 18:35:56 2014 (r260633) +++ head/bin/pax/tests/Makefile Tue Jan 14 18:39:30 2014 (r260634) @@ -3,8 +3,7 @@ .include TESTSDIR= ${TESTSBASE}/bin/pax -KYUAFILE= yes -TAP_TESTS_SH= legacy_test +TAP_TESTS_PERL= legacy_test .include Copied and modified: head/bin/pax/tests/legacy_test.pl (from r260625, head/bin/pax/tests/legacy_test.sh) ============================================================================== --- head/bin/pax/tests/legacy_test.sh Tue Jan 14 10:03:31 2014 (r260625, copy source) +++ head/bin/pax/tests/legacy_test.pl Tue Jan 14 18:39:30 2014 (r260634) @@ -1,5 +1,3 @@ -#! /usr/bin/perl -# # $FreeBSD$ use strict;