summaryrefslogtreecommitdiffstats
path: root/bin/cat/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cat/tests/Makefile')
-rw-r--r--bin/cat/tests/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/bin/cat/tests/Makefile b/bin/cat/tests/Makefile
index 73f82e1..8ac1ffb 100644
--- a/bin/cat/tests/Makefile
+++ b/bin/cat/tests/Makefile
@@ -1,18 +1,20 @@
# $FreeBSD$
-OBJTOP= ${.OBJDIR}/../../..
-SRCTOP= ${.CURDIR}/../../..
-TESTSRC= ${SRCTOP}/contrib/netbsd-tests/bin/cat
-
-TESTSDIR= ${TESTSBASE}/bin/cat
-
NETBSD_ATF_TESTS_SH= cat_test
FILESDIR= ${TESTSDIR}
-FILES= d_align.in
+FILES+= d_align.in
FILES+= d_align.out
+FILES+= d_se_output.in
+FILES+= d_se_output.out
.include <netbsd-tests.test.mk>
+d_align.out: ${TESTSRC}/d_align.out
+ sed -E -e 's,^[[:space:]]{7}\$$$$,\$$,' < ${.ALLSRC} > ${.TARGET}.tmp
+ mv ${.TARGET}.tmp ${.TARGET}
+
+CLEANFILES+= d_align.out d_align.out.tmp
+
.include <bsd.test.mk>
OpenPOWER on IntegriCloud