Integrate usr.bin/cmp/tests from NetBSD into atf/kyua

In collaboration with: sjg
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-09 00:50:33 +00:00
parent 0be0d5f339
commit 0306a0a804
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272780
3 changed files with 20 additions and 0 deletions

View File

@ -245,6 +245,8 @@
..
calendar
..
cmp
..
comm
..
file2c

View File

@ -1,7 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.include <src.opts.mk>
PROG= cmp
SRCS= cmp.c link.c misc.c regular.c special.c
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.prog.mk>

View File

@ -0,0 +1,12 @@
# $FreeBSD$
TESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/usr.bin/cmp
.PATH: ${TESTSRC}
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/usr.bin/cmp
ATF_TESTS_SH= cmp_test
ATF_TESTS_SH_SRC_cmp_test= t_cmp.sh
.include <bsd.test.mk>