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 <bsd.own.mk>
 
 TESTSDIR=      ${TESTSBASE}/bin/pax
-KYUAFILE=      yes
 
-TAP_TESTS_SH=  legacy_test
+TAP_TESTS_PERL=        legacy_test
 
 .include <tap.test.mk>

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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to