From fbc71595f07b8d69924924279ffa850c4c3c979b Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 13 Aug 2016 02:53:02 +0000 Subject: [PATCH] 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 --- bin/cat/tests/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 +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