diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2016-08-13 02:53:02 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2016-08-13 02:53:02 +0000 |
commit | fbc71595f07b8d69924924279ffa850c4c3c979b (patch) | |
tree | 884a6457bf54e46ab86e8636314cdbe53e2c5069 /bin/cat | |
parent | 09797f9dcee936c755eec5c4ec8ce9f0d205bbec (diff) | |
download | src-test2-fbc71595f07b8d69924924279ffa850c4c3c979b.tar.gz src-test2-fbc71595f07b8d69924924279ffa850c4c3c979b.zip |
Hack around output differences between FreeBSD and other BSDs
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
Notes
Notes:
svn path=/projects/netbsd-tests-update-12/; revision=304035
Diffstat (limited to 'bin/cat')
-rw-r--r-- | bin/cat/tests/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/cat/tests/Makefile b/bin/cat/tests/Makefile index 925966b1978e..92e358245077 100644 --- a/bin/cat/tests/Makefile +++ b/bin/cat/tests/Makefile @@ -11,4 +11,10 @@ ${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> |