Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/printf Add a missing ("quoting") '>' in an atf...



details:   https://anonhg.NetBSD.org/src/rev/ef628eedbb23
branches:  trunk
changeset: 460996:ef628eedbb23
user:      kre <kre%NetBSD.org@localhost>
date:      Tue Nov 12 18:59:51 2019 +0000

description:
Add a missing ("quoting") '>' in an atf_fail error message string.
Since the tests don't (usually) fail no-one ever noticed the missing char.

That is, the "received this" and "expected this" strings were supposed
to appear in the output err message as "<<string>>" but one of those
closing '>' chars was missing.

No-one should ever notice this change in normal operation, as the tests
are not intended to fail.

diffstat:

 tests/usr.bin/printf/printf.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 67a19e3208b4 -r ef628eedbb23 tests/usr.bin/printf/printf.sh
--- a/tests/usr.bin/printf/printf.sh    Tue Nov 12 18:18:04 2019 +0000
+++ b/tests/usr.bin/printf/printf.sh    Tue Nov 12 18:59:51 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: printf.sh,v 1.4 2019/07/21 15:25:59 kre Exp $
+# $NetBSD: printf.sh,v 1.5 2019/11/12 18:59:51 kre Exp $
 #
 # Copyright (c) 2018 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -118,7 +118,7 @@
                (${WANT})
                    ;;
                (*) 
-                   atf_fail "$* ... Expected <<${WANT}>> Received <<${RES}>"
+                   atf_fail "$* ... Expected <<${WANT}>> Received <<${RES}>>"
                    ;;
                esac
        fi



Home | Main Index | Thread Index | Old Index