[Bug 210607] patch to bin/cat/cat.c to align output between when invoked with -be & -ne flags

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 12 06:34:09 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210607

Ngie Cooper <ngie at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ngie at FreeBSD.org

--- Comment #8 from Ngie Cooper <ngie at FreeBSD.org> ---
Just to confirm, yes... it causes failures with the NetBSD tests:

$ svn info | grep ^URL:
URL:
svn+ssh://ngie@repo.freebsd.org/base/projects/netbsd-tests-update-12/bin/cat/tests
$ kyua debug -k /usr/tests/bin/cat/Kyuafile cat_test:align
Executing command [ /bin/sh -c cat -be /usr/tests/bin/cat/d_align.in ]
Fail: stdout does not match golden output
--- /usr/tests/bin/cat/d_align.out      2016-08-12 06:31:54.211355000 +0000
+++ /tmp/kyua.atf-tester.dRY658/check.pFAOAC/stdout     2016-08-12
06:32:15.388825000 +0000
@@ -1,5 +1,5 @@
      1 a b c$
-       $
+$
      2 1 2 3$
-       $
+$
      3 x y z$
cat_test:align  ->  failed: atf-check failed; see the output of the test for
details

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list