svn commit: r315293 - head/usr.bin/diff/tests

Ngie Cooper ngie at FreeBSD.org
Wed Mar 15 06:18:15 UTC 2017


Author: ngie
Date: Wed Mar 15 06:18:14 2017
New Revision: 315293
URL: https://svnweb.freebsd.org/changeset/base/315293

Log:
  Integrate contrib/netbsd-tests/usr.bin/diff/t_diff.sh in as
  .../usr.bin/diff/diff_test
  
  Some minor adjustment needed to be done for :same as it currently
  has the test script hardcoded into the test, instead of using an
  idiom like $(dirname $0)
  
  MFC after:	1 week
  Sponsored by:	Dell EMC Isilon

Modified:
  head/usr.bin/diff/tests/Makefile

Modified: head/usr.bin/diff/tests/Makefile
==============================================================================
--- head/usr.bin/diff/tests/Makefile	Wed Mar 15 05:31:02 2017	(r315292)
+++ head/usr.bin/diff/tests/Makefile	Wed Mar 15 06:18:14 2017	(r315293)
@@ -21,4 +21,14 @@ ${PACKAGE}FILES+=	\
 	unified_c9999.out \
 	unified_9999.out
 
+NETBSD_ATF_TESTS_SH+=	diff_test
+
+${PACKAGE}FILES+=	\
+	d_mallocv1.in	\
+	d_mallocv2.in
+
+ATF_TESTS_SH_SED_diff_test+=	-e 's,t_diff,diff_test,g'
+
+.include <netbsd-tests.test.mk>
+
 .include <bsd.test.mk>


More information about the svn-src-head mailing list