diff options
author | ngie <ngie@FreeBSD.org> | 2014-10-09 00:50:33 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-10-09 00:50:33 +0000 |
commit | 70c01e4074dc74d961b044db91e4308b87b168f0 (patch) | |
tree | 908fa0f3b54aa34d933bd382fbe5cae5307d5fe6 /usr.bin/cmp | |
parent | 52c660bb437a8980d615e8dc0fd595bd5ee1cc2d (diff) | |
download | FreeBSD-src-70c01e4074dc74d961b044db91e4308b87b168f0.zip FreeBSD-src-70c01e4074dc74d961b044db91e4308b87b168f0.tar.gz |
Integrate usr.bin/cmp/tests from NetBSD into atf/kyua
In collaboration with: sjg
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'usr.bin/cmp')
-rw-r--r-- | usr.bin/cmp/Makefile | 6 | ||||
-rw-r--r-- | usr.bin/cmp/tests/Makefile | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/usr.bin/cmp/Makefile b/usr.bin/cmp/Makefile index d93f54b..5b9fdfc 100644 --- a/usr.bin/cmp/Makefile +++ b/usr.bin/cmp/Makefile @@ -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> diff --git a/usr.bin/cmp/tests/Makefile b/usr.bin/cmp/tests/Makefile new file mode 100644 index 0000000..1c054c6 --- /dev/null +++ b/usr.bin/cmp/tests/Makefile @@ -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> |