Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2016 02:53:02 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r304035 - projects/netbsd-tests-update-12/bin/cat/tests
Message-ID:  <201608130253.u7D2r2bO052346@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Aug 13 02:53:02 2016
New Revision: 304035
URL: https://svnweb.freebsd.org/changeset/base/304035

Log:
  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

Modified:
  projects/netbsd-tests-update-12/bin/cat/tests/Makefile

Modified: projects/netbsd-tests-update-12/bin/cat/tests/Makefile
==============================================================================
--- projects/netbsd-tests-update-12/bin/cat/tests/Makefile	Sat Aug 13 02:05:06 2016	(r304034)
+++ projects/netbsd-tests-update-12/bin/cat/tests/Makefile	Sat Aug 13 02:53:02 2016	(r304035)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608130253.u7D2r2bO052346>