Module Name: src
Committed By: kre
Date: Thu May 12 14:25:11 UTC 2016
Modified Files:
src/tests/bin/sh: t_arith.sh
Log Message:
Grunge. I know I fixed this typo before... must have been in a different
couy of the test.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/bin/sh/t_arith.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/bin/sh/t_arith.sh
diff -u src/tests/bin/sh/t_arith.sh:1.4 src/tests/bin/sh/t_arith.sh:1.5
--- src/tests/bin/sh/t_arith.sh:1.4 Thu May 12 13:34:23 2016
+++ src/tests/bin/sh/t_arith.sh Thu May 12 14:25:11 2016
@@ -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 @@ make_selection_body()
'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 ))'
}