with cat(1) cat -be on FreeBSD doesn't align the $ with the start of the line like NetBSD, et al's cat -be does PR: 210607 Sponsored by: EMC / Isilon Storage Division
21 lines
430 B
Makefile
21 lines
430 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= tests
|
|
|
|
NETBSD_ATF_TESTS_SH= cat_test
|
|
|
|
${PACKAGE}FILES+= d_align.in
|
|
${PACKAGE}FILES+= d_align.out
|
|
${PACKAGE}FILES+= d_se_output.in
|
|
${PACKAGE}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>
|