Source-Changes-HG archive

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

[src/trunk]: src/tests/bin/sh Fix a really stupid typo/thinko that was preven...



details:   https://anonhg.NetBSD.org/src/rev/0ae95c30e536
branches:  trunk
changeset: 824735:0ae95c30e536
user:      kre <kre%NetBSD.org@localhost>
date:      Fri Jun 16 07:30:32 2017 +0000

description:
Fix a really stupid typo/thinko that was preventing many of the
redirect syntax sub-tests from being attempted.

diffstat:

 tests/bin/sh/t_syntax.sh |  34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diffs (66 lines):

diff -r 8a37b6c74b4c -r 0ae95c30e536 tests/bin/sh/t_syntax.sh
--- a/tests/bin/sh/t_syntax.sh  Fri Jun 16 04:41:02 2017 +0000
+++ b/tests/bin/sh/t_syntax.sh  Fri Jun 16 07:30:32 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_syntax.sh,v 1.3 2017/06/09 23:49:58 kre Exp $
+# $NetBSD: t_syntax.sh,v 1.4 2017/06/16 07:30:32 kre Exp $
 #
 # Copyright (c) 2017 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -316,40 +316,40 @@
        atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
                '>/dev/null>/dev/null>/dev/null'
 
-       atf-check -s exit:0 -o empty -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
                'echo hello >/dev/null'
-       atf-check -s exit:0 -o empty -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
                'echo >/dev/null hello'
-       atf-check -s exit:0 -o empty -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
                '>/dev/null echo hello'
-       atf-check -s exit:0 -o empty -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
                'echo hello >/dev/null world'
-       atf-check -s exit:0 -o 'inline:hello world\n' -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o 'inline:hello world\n' -e empty ${TEST_SH} -c \
                'echo hello </dev/null world'
 
-       atf-check -s exit:0 -o 'inline:hello\n' -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o 'inline:hello\n' -e empty ${TEST_SH} -c \
                'echo hello </dev/null'
-       atf-check -s exit:0 -o 'inline:hello\n' -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o 'inline:hello\n' -e empty ${TEST_SH} -c \
                'echo hello 3</dev/null'
-       atf-check -s exit:0 -o 'inline:hello 3\n' -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o 'inline:hello 3\n' -e empty ${TEST_SH} -c \
                'echo hello 3 </dev/null'
-       atf-check -s exit:0 -o 'inline:hello 3\n' -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o 'inline:hello 3\n' -e empty ${TEST_SH} -c \
                'echo hello \3</dev/null'
-       atf-check -s exit:0 -o 'inline:hello\n' -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o 'inline:hello\n' -e empty ${TEST_SH} -c \
                'echo hello</dev/null'
-       atf-check -s exit:0 -o 'inline:3\n' -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o 'inline:3\n' -e empty ${TEST_SH} -c \
                'hello=3; echo ${hello}</dev/null'
 
-       atf-check -s exit:0 -o empty -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
                '2>&1'
-       atf-check -s exit:0 -o empty -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
                '2>& 1'
-       atf-check -s exit:0 -o empty -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
                'FD=1; 2>&"${FD}"'
-       atf-check -s exit:0 -o 'inline:hello\n' -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o 'inline:hello\n' -e empty ${TEST_SH} -c \
                'FD=1; echo hello 2>&"${FD}" >&2'
 
-       atf-check -s exit:0 -o empty -e empty ${TEST_SH} -c \
+       atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
                '2>&- 3<&- 4>&-'
 
        return 0



Home | Main Index | Thread Index | Old Index