Author: ngie
Date: Thu Oct  9 00:55:04 2014
New Revision: 272781
URL: https://svnweb.freebsd.org/changeset/base/272781

Log:
  Integrate usr.bin/dirname/tests from NetBSD into atf/kyua
  
  In collaboration with: pho, sjg
  Sponsored by: EMC / Isilon Storage Division

Added:
  head/usr.bin/dirname/tests/
  head/usr.bin/dirname/tests/Makefile   (contents, props changed)
Modified:
  head/etc/mtree/BSD.tests.dist
  head/usr.bin/dirname/Makefile

Modified: head/etc/mtree/BSD.tests.dist
==============================================================================
--- head/etc/mtree/BSD.tests.dist       Thu Oct  9 00:50:33 2014        
(r272780)
+++ head/etc/mtree/BSD.tests.dist       Thu Oct  9 00:55:04 2014        
(r272781)
@@ -249,6 +249,8 @@
             ..
             comm
             ..
+            dirname
+            ..
             file2c
             ..
             join

Modified: head/usr.bin/dirname/Makefile
==============================================================================
--- head/usr.bin/dirname/Makefile       Thu Oct  9 00:50:33 2014        
(r272780)
+++ head/usr.bin/dirname/Makefile       Thu Oct  9 00:55:04 2014        
(r272781)
@@ -1,7 +1,13 @@
 #      From: @(#)Makefile      8.1 (Berkeley) 6/6/93
 # $FreeBSD$
 
+.include <src.opts.mk>
+
 PROG=  dirname
 MAN=
 
+.if ${MK_TESTS} != "no"
+SUBDIR+=       tests
+.endif
+
 .include <bsd.prog.mk>

Added: head/usr.bin/dirname/tests/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/usr.bin/dirname/tests/Makefile Thu Oct  9 00:55:04 2014        
(r272781)
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+TESTSRC=       ${.CURDIR}/../../../contrib/netbsd-tests/usr.bin/dirname
+.PATH: ${TESTSRC}
+
+.include <bsd.own.mk>
+
+TESTSDIR=      ${TESTSBASE}/usr.bin/dirname
+ATF_TESTS_SH=  dirname_test
+ATF_TESTS_SH_SRC_dirname_test= t_dirname.sh
+
+.include <bsd.test.mk>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to