diff options
author | ngie <ngie@FreeBSD.org> | 2015-01-04 22:37:44 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-01-04 22:37:44 +0000 |
commit | 5c0e2da500ef4887abc89b0c9f7736f337ca32b5 (patch) | |
tree | 7e0b70532e42c8715e6afd9da91569ce1e942bc1 /bin/cat | |
parent | bcb054827263dd547ce2faa8855f367f6a3c50f4 (diff) | |
download | FreeBSD-src-5c0e2da500ef4887abc89b0c9f7736f337ca32b5.zip FreeBSD-src-5c0e2da500ef4887abc89b0c9f7736f337ca32b5.tar.gz |
Integrate bin/cat/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'bin/cat')
-rw-r--r-- | bin/cat/Makefile | 6 | ||||
-rw-r--r-- | bin/cat/tests/Makefile | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/bin/cat/Makefile b/bin/cat/Makefile index 672a4ee..97e5812 100644 --- a/bin/cat/Makefile +++ b/bin/cat/Makefile @@ -1,6 +1,12 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ +.include <src.opts.mk> + PROG= cat +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + .include <bsd.prog.mk> diff --git a/bin/cat/tests/Makefile b/bin/cat/tests/Makefile new file mode 100644 index 0000000..5afdd84 --- /dev/null +++ b/bin/cat/tests/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +OBJTOP= ${.OBJDIR}/../../.. +SRCTOP= ${.CURDIR}/../../.. +TESTSRC= ${SRCTOP}/contrib/netbsd-tests/bin/cat + +TESTSDIR= ${TESTSBASE}/bin/cat + +NETBSD_ATF_TESTS_SH= cat_test + +.include <netbsd-tests.test.mk> + +.include <bsd.test.mk> |