Source-Changes-HG archive

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

[src/trunk]: src/tests/bin/sh Grunge. I know I fixed this typo before... mu...



details:   https://anonhg.NetBSD.org/src/rev/a1ec9415786f
branches:  trunk
changeset: 815348:a1ec9415786f
user:      kre <kre%NetBSD.org@localhost>
date:      Thu May 12 14:25:11 2016 +0000

description:
Grunge.  I know I fixed this typo before...  must have been in a different
couy of the test.

diffstat:

 tests/bin/sh/t_arith.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r ecdff3c4eb48 -r a1ec9415786f tests/bin/sh/t_arith.sh
--- a/tests/bin/sh/t_arith.sh   Thu May 12 13:34:23 2016 +0000
+++ b/tests/bin/sh/t_arith.sh   Thu May 12 14:25:11 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_arith.sh,v 1.4 2016/05/12 13:34:23 kre Exp $
+# $NetBSD: t_arith.sh,v 1.5 2016/05/12 14:25:11 kre Exp $
 #
 # Copyright (c) 2016 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -836,9 +836,9 @@
                'echo $(( 0x1234 ? 111 : 222 ))'
 
        atf_check -s exit:0 -o inline:'-1\n' -e empty ${TEST_SH} -c \
-               'echo $(( 1 < 2 ? -1 : i > 2 ? 1 : 0 ))'
+               'echo $(( 1 < 2 ? -1 : 1 > 2 ? 1 : 0 ))'
        atf_check -s exit:0 -o inline:'0\n' -e empty ${TEST_SH} -c \
-               'echo $(( 1 < 1 ? -1 : i > 1 ? 1 : 0 ))'
+               'echo $(( 1 < 1 ? -1 : 1 > 1 ? 1 : 0 ))'
        atf_check -s exit:0 -o inline:'1\n' -e empty ${TEST_SH} -c \
                'echo $(( 2 < 1 ? -1 : 2 > 1 ? 1 : 0 ))'
 }



Home | Main Index | Thread Index | Old Index