Module Name:    src
Committed By:   tls
Date:           Sun Aug 10 06:57:03 UTC 2014

Modified Files:
        src/tests/bin/sh [tls-earlyentropy]: Makefile
Added Files:
        src/tests/bin/sh/dotcmd [tls-earlyentropy]: Makefile scoped_command
            t_dotcmd.sh
        src/tests/bin/sh/dotcmd/out [tls-earlyentropy]: case_break_case.out
            case_break_compound.out case_break_file.out case_break_for.out
            case_break_func.out case_break_subshell.out case_break_until.out
            case_break_while.out case_continue_case.out
            case_continue_compound.out case_continue_file.out
            case_continue_for.out case_continue_func.out
            case_continue_subshell.out case_continue_until.out
            case_continue_while.out case_return_case.out
            case_return_compound.out case_return_file.out case_return_for.out
            case_return_func.out case_return_subshell.out case_return_until.out
            case_return_while.out compound_break_case.out
            compound_break_compound.out compound_break_file.out
            compound_break_for.out compound_break_func.out
            compound_break_subshell.out compound_break_until.out
            compound_break_while.out compound_continue_case.out
            compound_continue_compound.out compound_continue_file.out
            compound_continue_for.out compound_continue_func.out
            compound_continue_subshell.out compound_continue_until.out
            compound_continue_while.out compound_return_case.out
            compound_return_compound.out compound_return_file.out
            compound_return_for.out compound_return_func.out
            compound_return_subshell.out compound_return_until.out
            compound_return_while.out file_break_case.out
            file_break_compound.out file_break_file.out file_break_for.out
            file_break_func.out file_break_subshell.out file_break_until.out
            file_break_while.out file_continue_case.out
            file_continue_compound.out file_continue_file.out
            file_continue_for.out file_continue_func.out
            file_continue_subshell.out file_continue_until.out
            file_continue_while.out file_return_case.out
            file_return_compound.out file_return_file.out file_return_for.out
            file_return_func.out file_return_subshell.out file_return_until.out
            file_return_while.out for_break_case.out for_break_compound.out
            for_break_file.out for_break_for.out for_break_func.out
            for_break_subshell.out for_break_until.out for_break_while.out
            for_continue_case.out for_continue_compound.out
            for_continue_file.out for_continue_for.out for_continue_func.out
            for_continue_subshell.out for_continue_until.out
            for_continue_while.out for_return_case.out for_return_compound.out
            for_return_file.out for_return_for.out for_return_func.out
            for_return_subshell.out for_return_until.out for_return_while.out
            func_break_case.out func_break_compound.out func_break_file.out
            func_break_for.out func_break_func.out func_break_subshell.out
            func_break_until.out func_break_while.out func_continue_case.out
            func_continue_compound.out func_continue_file.out
            func_continue_for.out func_continue_func.out
            func_continue_subshell.out func_continue_until.out
            func_continue_while.out func_return_case.out
            func_return_compound.out func_return_file.out func_return_for.out
            func_return_func.out func_return_subshell.out func_return_until.out
            func_return_while.out subshell_break_case.out
            subshell_break_compound.out subshell_break_file.out
            subshell_break_for.out subshell_break_func.out
            subshell_break_subshell.out subshell_break_until.out
            subshell_break_while.out subshell_continue_case.out
            subshell_continue_compound.out subshell_continue_file.out
            subshell_continue_for.out subshell_continue_func.out
            subshell_continue_subshell.out subshell_continue_until.out
            subshell_continue_while.out subshell_return_case.out
            subshell_return_compound.out subshell_return_file.out
            subshell_return_for.out subshell_return_func.out
            subshell_return_subshell.out subshell_return_until.out
            subshell_return_while.out until_break_case.out
            until_break_compound.out until_break_file.out until_break_for.out
            until_break_func.out until_break_subshell.out until_break_until.out
            until_break_while.out until_continue_case.out
            until_continue_compound.out until_continue_file.out
            until_continue_for.out until_continue_func.out
            until_continue_subshell.out until_continue_until.out
            until_continue_while.out until_return_case.out
            until_return_compound.out until_return_file.out
            until_return_for.out until_return_func.out
            until_return_subshell.out until_return_until.out
            until_return_while.out while_break_case.out
            while_break_compound.out while_break_file.out while_break_for.out
            while_break_func.out while_break_subshell.out while_break_until.out
            while_break_while.out while_continue_case.out
            while_continue_compound.out while_continue_file.out
            while_continue_for.out while_continue_func.out
            while_continue_subshell.out while_continue_until.out
            while_continue_while.out while_return_case.out
            while_return_compound.out while_return_file.out
            while_return_for.out while_return_func.out
            while_return_subshell.out while_return_until.out
            while_return_while.out

Log Message:
Rebase.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.8.1 src/tests/bin/sh/Makefile
cvs rdiff -u -r0 -r1.2.2.2 src/tests/bin/sh/dotcmd/Makefile
cvs rdiff -u -r0 -r1.1.2.2 src/tests/bin/sh/dotcmd/scoped_command \
    src/tests/bin/sh/dotcmd/t_dotcmd.sh
cvs rdiff -u -r0 -r1.1.2.2 src/tests/bin/sh/dotcmd/out/case_break_case.out \
    src/tests/bin/sh/dotcmd/out/case_break_compound.out \
    src/tests/bin/sh/dotcmd/out/case_break_file.out \
    src/tests/bin/sh/dotcmd/out/case_break_for.out \
    src/tests/bin/sh/dotcmd/out/case_break_func.out \
    src/tests/bin/sh/dotcmd/out/case_break_subshell.out \
    src/tests/bin/sh/dotcmd/out/case_break_until.out \
    src/tests/bin/sh/dotcmd/out/case_break_while.out \
    src/tests/bin/sh/dotcmd/out/case_continue_case.out \
    src/tests/bin/sh/dotcmd/out/case_continue_compound.out \
    src/tests/bin/sh/dotcmd/out/case_continue_file.out \
    src/tests/bin/sh/dotcmd/out/case_continue_for.out \
    src/tests/bin/sh/dotcmd/out/case_continue_func.out \
    src/tests/bin/sh/dotcmd/out/case_continue_subshell.out \
    src/tests/bin/sh/dotcmd/out/case_continue_until.out \
    src/tests/bin/sh/dotcmd/out/case_continue_while.out \
    src/tests/bin/sh/dotcmd/out/case_return_case.out \
    src/tests/bin/sh/dotcmd/out/case_return_compound.out \
    src/tests/bin/sh/dotcmd/out/case_return_file.out \
    src/tests/bin/sh/dotcmd/out/case_return_for.out \
    src/tests/bin/sh/dotcmd/out/case_return_func.out \
    src/tests/bin/sh/dotcmd/out/case_return_subshell.out \
    src/tests/bin/sh/dotcmd/out/case_return_until.out \
    src/tests/bin/sh/dotcmd/out/case_return_while.out \
    src/tests/bin/sh/dotcmd/out/compound_break_case.out \
    src/tests/bin/sh/dotcmd/out/compound_break_compound.out \
    src/tests/bin/sh/dotcmd/out/compound_break_file.out \
    src/tests/bin/sh/dotcmd/out/compound_break_for.out \
    src/tests/bin/sh/dotcmd/out/compound_break_func.out \
    src/tests/bin/sh/dotcmd/out/compound_break_subshell.out \
    src/tests/bin/sh/dotcmd/out/compound_break_until.out \
    src/tests/bin/sh/dotcmd/out/compound_break_while.out \
    src/tests/bin/sh/dotcmd/out/compound_continue_case.out \
    src/tests/bin/sh/dotcmd/out/compound_continue_compound.out \
    src/tests/bin/sh/dotcmd/out/compound_continue_file.out \
    src/tests/bin/sh/dotcmd/out/compound_continue_for.out \
    src/tests/bin/sh/dotcmd/out/compound_continue_func.out \
    src/tests/bin/sh/dotcmd/out/compound_continue_subshell.out \
    src/tests/bin/sh/dotcmd/out/compound_continue_until.out \
    src/tests/bin/sh/dotcmd/out/compound_continue_while.out \
    src/tests/bin/sh/dotcmd/out/compound_return_case.out \
    src/tests/bin/sh/dotcmd/out/compound_return_compound.out \
    src/tests/bin/sh/dotcmd/out/compound_return_file.out \
    src/tests/bin/sh/dotcmd/out/compound_return_for.out \
    src/tests/bin/sh/dotcmd/out/compound_return_func.out \
    src/tests/bin/sh/dotcmd/out/compound_return_subshell.out \
    src/tests/bin/sh/dotcmd/out/compound_return_until.out \
    src/tests/bin/sh/dotcmd/out/compound_return_while.out \
    src/tests/bin/sh/dotcmd/out/file_break_case.out \
    src/tests/bin/sh/dotcmd/out/file_break_compound.out \
    src/tests/bin/sh/dotcmd/out/file_break_file.out \
    src/tests/bin/sh/dotcmd/out/file_break_for.out \
    src/tests/bin/sh/dotcmd/out/file_break_func.out \
    src/tests/bin/sh/dotcmd/out/file_break_subshell.out \
    src/tests/bin/sh/dotcmd/out/file_break_until.out \
    src/tests/bin/sh/dotcmd/out/file_break_while.out \
    src/tests/bin/sh/dotcmd/out/file_continue_case.out \
    src/tests/bin/sh/dotcmd/out/file_continue_compound.out \
    src/tests/bin/sh/dotcmd/out/file_continue_file.out \
    src/tests/bin/sh/dotcmd/out/file_continue_for.out \
    src/tests/bin/sh/dotcmd/out/file_continue_func.out \
    src/tests/bin/sh/dotcmd/out/file_continue_subshell.out \
    src/tests/bin/sh/dotcmd/out/file_continue_until.out \
    src/tests/bin/sh/dotcmd/out/file_continue_while.out \
    src/tests/bin/sh/dotcmd/out/file_return_case.out \
    src/tests/bin/sh/dotcmd/out/file_return_compound.out \
    src/tests/bin/sh/dotcmd/out/file_return_file.out \
    src/tests/bin/sh/dotcmd/out/file_return_for.out \
    src/tests/bin/sh/dotcmd/out/file_return_func.out \
    src/tests/bin/sh/dotcmd/out/file_return_subshell.out \
    src/tests/bin/sh/dotcmd/out/file_return_until.out \
    src/tests/bin/sh/dotcmd/out/file_return_while.out \
    src/tests/bin/sh/dotcmd/out/for_break_case.out \
    src/tests/bin/sh/dotcmd/out/for_break_compound.out \
    src/tests/bin/sh/dotcmd/out/for_break_file.out \
    src/tests/bin/sh/dotcmd/out/for_break_for.out \
    src/tests/bin/sh/dotcmd/out/for_break_func.out \
    src/tests/bin/sh/dotcmd/out/for_break_subshell.out \
    src/tests/bin/sh/dotcmd/out/for_break_until.out \
    src/tests/bin/sh/dotcmd/out/for_break_while.out \
    src/tests/bin/sh/dotcmd/out/for_continue_case.out \
    src/tests/bin/sh/dotcmd/out/for_continue_compound.out \
    src/tests/bin/sh/dotcmd/out/for_continue_file.out \
    src/tests/bin/sh/dotcmd/out/for_continue_for.out \
    src/tests/bin/sh/dotcmd/out/for_continue_func.out \
    src/tests/bin/sh/dotcmd/out/for_continue_subshell.out \
    src/tests/bin/sh/dotcmd/out/for_continue_until.out \
    src/tests/bin/sh/dotcmd/out/for_continue_while.out \
    src/tests/bin/sh/dotcmd/out/for_return_case.out \
    src/tests/bin/sh/dotcmd/out/for_return_compound.out \
    src/tests/bin/sh/dotcmd/out/for_return_file.out \
    src/tests/bin/sh/dotcmd/out/for_return_for.out \
    src/tests/bin/sh/dotcmd/out/for_return_func.out \
    src/tests/bin/sh/dotcmd/out/for_return_subshell.out \
    src/tests/bin/sh/dotcmd/out/for_return_until.out \
    src/tests/bin/sh/dotcmd/out/for_return_while.out \
    src/tests/bin/sh/dotcmd/out/func_break_case.out \
    src/tests/bin/sh/dotcmd/out/func_break_compound.out \
    src/tests/bin/sh/dotcmd/out/func_break_file.out \
    src/tests/bin/sh/dotcmd/out/func_break_for.out \
    src/tests/bin/sh/dotcmd/out/func_break_func.out \
    src/tests/bin/sh/dotcmd/out/func_break_subshell.out \
    src/tests/bin/sh/dotcmd/out/func_break_until.out \
    src/tests/bin/sh/dotcmd/out/func_break_while.out \
    src/tests/bin/sh/dotcmd/out/func_continue_case.out \
    src/tests/bin/sh/dotcmd/out/func_continue_compound.out \
    src/tests/bin/sh/dotcmd/out/func_continue_file.out \
    src/tests/bin/sh/dotcmd/out/func_continue_for.out \
    src/tests/bin/sh/dotcmd/out/func_continue_func.out \
    src/tests/bin/sh/dotcmd/out/func_continue_subshell.out \
    src/tests/bin/sh/dotcmd/out/func_continue_until.out \
    src/tests/bin/sh/dotcmd/out/func_continue_while.out \
    src/tests/bin/sh/dotcmd/out/func_return_case.out \
    src/tests/bin/sh/dotcmd/out/func_return_compound.out \
    src/tests/bin/sh/dotcmd/out/func_return_file.out \
    src/tests/bin/sh/dotcmd/out/func_return_for.out \
    src/tests/bin/sh/dotcmd/out/func_return_func.out \
    src/tests/bin/sh/dotcmd/out/func_return_subshell.out \
    src/tests/bin/sh/dotcmd/out/func_return_until.out \
    src/tests/bin/sh/dotcmd/out/func_return_while.out \
    src/tests/bin/sh/dotcmd/out/subshell_break_case.out \
    src/tests/bin/sh/dotcmd/out/subshell_break_compound.out \
    src/tests/bin/sh/dotcmd/out/subshell_break_file.out \
    src/tests/bin/sh/dotcmd/out/subshell_break_for.out \
    src/tests/bin/sh/dotcmd/out/subshell_break_func.out \
    src/tests/bin/sh/dotcmd/out/subshell_break_subshell.out \
    src/tests/bin/sh/dotcmd/out/subshell_break_until.out \
    src/tests/bin/sh/dotcmd/out/subshell_break_while.out \
    src/tests/bin/sh/dotcmd/out/subshell_continue_case.out \
    src/tests/bin/sh/dotcmd/out/subshell_continue_compound.out \
    src/tests/bin/sh/dotcmd/out/subshell_continue_file.out \
    src/tests/bin/sh/dotcmd/out/subshell_continue_for.out \
    src/tests/bin/sh/dotcmd/out/subshell_continue_func.out \
    src/tests/bin/sh/dotcmd/out/subshell_continue_subshell.out \
    src/tests/bin/sh/dotcmd/out/subshell_continue_until.out \
    src/tests/bin/sh/dotcmd/out/subshell_continue_while.out \
    src/tests/bin/sh/dotcmd/out/subshell_return_case.out \
    src/tests/bin/sh/dotcmd/out/subshell_return_compound.out \
    src/tests/bin/sh/dotcmd/out/subshell_return_file.out \
    src/tests/bin/sh/dotcmd/out/subshell_return_for.out \
    src/tests/bin/sh/dotcmd/out/subshell_return_func.out \
    src/tests/bin/sh/dotcmd/out/subshell_return_subshell.out \
    src/tests/bin/sh/dotcmd/out/subshell_return_until.out \
    src/tests/bin/sh/dotcmd/out/subshell_return_while.out \
    src/tests/bin/sh/dotcmd/out/until_break_case.out \
    src/tests/bin/sh/dotcmd/out/until_break_compound.out \
    src/tests/bin/sh/dotcmd/out/until_break_file.out \
    src/tests/bin/sh/dotcmd/out/until_break_for.out \
    src/tests/bin/sh/dotcmd/out/until_break_func.out \
    src/tests/bin/sh/dotcmd/out/until_break_subshell.out \
    src/tests/bin/sh/dotcmd/out/until_break_until.out \
    src/tests/bin/sh/dotcmd/out/until_break_while.out \
    src/tests/bin/sh/dotcmd/out/until_continue_case.out \
    src/tests/bin/sh/dotcmd/out/until_continue_compound.out \
    src/tests/bin/sh/dotcmd/out/until_continue_file.out \
    src/tests/bin/sh/dotcmd/out/until_continue_for.out \
    src/tests/bin/sh/dotcmd/out/until_continue_func.out \
    src/tests/bin/sh/dotcmd/out/until_continue_subshell.out \
    src/tests/bin/sh/dotcmd/out/until_continue_until.out \
    src/tests/bin/sh/dotcmd/out/until_continue_while.out \
    src/tests/bin/sh/dotcmd/out/until_return_case.out \
    src/tests/bin/sh/dotcmd/out/until_return_compound.out \
    src/tests/bin/sh/dotcmd/out/until_return_file.out \
    src/tests/bin/sh/dotcmd/out/until_return_for.out \
    src/tests/bin/sh/dotcmd/out/until_return_func.out \
    src/tests/bin/sh/dotcmd/out/until_return_subshell.out \
    src/tests/bin/sh/dotcmd/out/until_return_until.out \
    src/tests/bin/sh/dotcmd/out/until_return_while.out \
    src/tests/bin/sh/dotcmd/out/while_break_case.out \
    src/tests/bin/sh/dotcmd/out/while_break_compound.out \
    src/tests/bin/sh/dotcmd/out/while_break_file.out \
    src/tests/bin/sh/dotcmd/out/while_break_for.out \
    src/tests/bin/sh/dotcmd/out/while_break_func.out \
    src/tests/bin/sh/dotcmd/out/while_break_subshell.out \
    src/tests/bin/sh/dotcmd/out/while_break_until.out \
    src/tests/bin/sh/dotcmd/out/while_break_while.out \
    src/tests/bin/sh/dotcmd/out/while_continue_case.out \
    src/tests/bin/sh/dotcmd/out/while_continue_compound.out \
    src/tests/bin/sh/dotcmd/out/while_continue_file.out \
    src/tests/bin/sh/dotcmd/out/while_continue_for.out \
    src/tests/bin/sh/dotcmd/out/while_continue_func.out \
    src/tests/bin/sh/dotcmd/out/while_continue_subshell.out \
    src/tests/bin/sh/dotcmd/out/while_continue_until.out \
    src/tests/bin/sh/dotcmd/out/while_continue_while.out \
    src/tests/bin/sh/dotcmd/out/while_return_case.out \
    src/tests/bin/sh/dotcmd/out/while_return_compound.out \
    src/tests/bin/sh/dotcmd/out/while_return_file.out \
    src/tests/bin/sh/dotcmd/out/while_return_for.out \
    src/tests/bin/sh/dotcmd/out/while_return_func.out \
    src/tests/bin/sh/dotcmd/out/while_return_subshell.out \
    src/tests/bin/sh/dotcmd/out/while_return_until.out \
    src/tests/bin/sh/dotcmd/out/while_return_while.out

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/Makefile
diff -u src/tests/bin/sh/Makefile:1.2 src/tests/bin/sh/Makefile:1.2.8.1
--- src/tests/bin/sh/Makefile:1.2	Mon Jun 11 18:32:59 2012
+++ src/tests/bin/sh/Makefile	Sun Aug 10 06:57:02 2014
@@ -1,4 +1,14 @@
-# $NetBSD: Makefile,v 1.2 2012/06/11 18:32:59 njoly Exp $
+# $NetBSD: Makefile,v 1.2.8.1 2014/08/10 06:57:02 tls Exp $
+#
+
+.include <bsd.own.mk>
+
+TESTSDIR = ${TESTSBASE}/bin/sh
+
+TESTS_SUBDIRS += dotcmd
+
+.include <bsd.test.mk>
+# $NetBSD: Makefile,v 1.2.8.1 2014/08/10 06:57:02 tls Exp $
 
 .include <bsd.own.mk>
 

Added files:

Index: src/tests/bin/sh/dotcmd/Makefile
diff -u /dev/null src/tests/bin/sh/dotcmd/Makefile:1.2.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/Makefile	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.2.2.2 2014/08/10 06:57:02 tls Exp $
+#
+
+.include <bsd.own.mk>
+
+TESTSDIR = ${TESTSBASE}/bin/sh/dotcmd
+
+TESTS_SH = t_dotcmd
+
+FILESDIR = ${TESTSDIR}/out
+
+# Testing scripts: dotcmd in various scopes includes a file with
+# return / break / continue in various scopes.
+#
+.for cmd_scope in case compound file for func subshell until while
+. for cmd in return break continue
+FILES += ${cmd}_${cmd_scope}
+FILESDIR_${cmd}_${cmd_scope} = ${TESTSDIR}
+FILESBUILD_${cmd}_${cmd_scope} = yes
+
+${cmd}_${cmd_scope}: scoped_command
+	${HOST_SH} ${.CURDIR}/scoped_command '${cmd_scope}' '${cmd}' '${cmd}' \
+		>'${.TARGET}'
+
+.  for dot_scope in case compound file for func subshell until while
+FILES += \
+	${dot_scope}_${cmd}_${cmd_scope} \
+	out/${dot_scope}_${cmd}_${cmd_scope}.out
+FILESDIR_${dot_scope}_${cmd}_${cmd_scope} = ${TESTSDIR}
+FILESBUILD_${dot_scope}_${cmd}_${cmd_scope} = yes
+FILESMODE_${dot_scope}_${cmd}_${cmd_scope} = ${BINMODE}
+
+${dot_scope}_${cmd}_${cmd_scope}: scoped_command
+	${HOST_SH} ${.CURDIR}/scoped_command '${dot_scope}' \
+		'. "${cmd}_${cmd_scope}"' 'dotcmd' 'dotcmd' >'${.TARGET}'
+.  endfor
+. endfor
+.endfor
+
+.include <bsd.test.mk>

Index: src/tests/bin/sh/dotcmd/scoped_command
diff -u /dev/null src/tests/bin/sh/dotcmd/scoped_command:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/scoped_command	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,129 @@
+#!/bin/sh
+#
+# $NetBSD: scoped_command,v 1.1.2.2 2014/08/10 06:57:02 tls Exp $
+#
+# Copyright (c) 2014 The NetBSD Foundation, Inc.
+# All rights reserved.
+#
+# This code is derived from software contributed to The NetBSD Foundation
+# by Jarmo Jaakkola.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+
+set -e
+
+# USAGE:
+#   scoped_command scope cmd msg var_suffix
+#
+# Write to stdout a piece of Bourne Shell script with _cmd_ in specific
+# _scope_.  The execution of _cmd_ is bracketed by prints of "before _msg_"
+# and "after _msg_, return value ${?}".  If the generated script uses
+# variables, __var_suffix_ is appended to their names to allow nesting of
+# scripts generated this way.
+#
+# _scope_ should be one of: case, compound, file, for, func, subshell,
+# until, while.
+# _cmd_ is the command line to execute.  Remember proper quoting!
+# _msg_ is text that will be used inside single quotes.
+# _var_suffix_ is a syntactically valid identifier name.
+
+# don't rely on command lists (';')
+cmd="echo 'before ${3}'
+${2}
+echo 'after ${3}, return value:' ${?}"
+
+echo "#!/bin/sh"
+
+[ 'func' = "${1}" ] && cat <<EOF
+func()
+{
+    echo 'before ${3}'
+    \${1}
+    echo 'after ${3}'
+}
+
+echo 'before function'
+func "${2}" "${3}"  # don't rely on 'shift'
+echo 'after function'
+EOF
+
+[ 'case' = "${1}" ] && cat <<EOF
+echo 'before case'
+case 'a' in
+    a)  ${cmd};;
+esac
+echo 'after case'
+EOF
+
+[ 'file' = "${1}" ] && cat <<EOF
+${cmd}
+EOF
+
+[ 'while' = "${1}" ] && cat <<EOF
+echo 'before while'
+cond_${4}='true true false'
+while \${cond_${4}}
+do
+    cond_${4}="\${cond_${4}#* }"
+    ${cmd}
+done
+echo 'after while'
+EOF
+
+[ 'until' = "${1}" ] && cat <<EOF
+echo 'before until'
+cond_${4}='false false true'
+until \${cond_${4}}
+do
+    cond_${4}="\${cond_${4}#* }"
+    ${cmd}
+done
+echo 'after until'
+EOF
+
+[ 'for' = "${1}" ] && cat <<EOF
+echo 'before for'
+for i_${4} in 1 2
+do
+    ${cmd}
+done
+echo 'after for'
+EOF
+
+[ 'subshell' = "${1}" ] && cat <<EOF
+(
+    echo 'subshell start'
+    ${cmd}
+    echo 'subshell end'
+)
+EOF
+
+[ 'compound' = "${1}" ] && cat <<EOF
+{
+    echo 'compound start'
+    ${cmd};
+    echo 'compound end'
+}
+EOF
+
+exit 0
Index: src/tests/bin/sh/dotcmd/t_dotcmd.sh
diff -u /dev/null src/tests/bin/sh/dotcmd/t_dotcmd.sh:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/t_dotcmd.sh	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,76 @@
+# $NetBSD: t_dotcmd.sh,v 1.1.2.2 2014/08/10 06:57:02 tls Exp $
+#
+# Copyright (c) 2014 The NetBSD Foundation, Inc.
+# All rights reserved.
+#
+# This code is derived from software contributed to The NetBSD Foundation
+# by Jarmo Jaakkola.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+
+# Test loop and function flow control statements in various scopes in a file
+# sourced by a dotcmd in various scopes.  Basically, dotcmd is like #include
+# in C/C++ so, for example, if the dotcmd is in a loop's body, a break in
+# the sourced file can be used to break out of that loop.
+
+cmds='return break continue'
+scopes='case compound file for func subshell until while'
+
+case_ids=''
+
+for dot_scope in ${scopes}
+do
+    for cmd in ${cmds}
+    do
+        for cmd_scope in ${scopes}
+        do
+            case_id="${dot_scope}_${cmd}_${cmd_scope}"
+	    case_ids="${case_ids} ${case_id}"
+            atf_test_case "${case_id}"
+            eval "
+${case_id}_head()
+{
+    atf_set 'descr' \\
+        'dotcmd in ${dot_scope}, file contains ${cmd} in ${cmd_scope}'
+}
+
+${case_id}_body()
+{
+    srcdir=\$(atf_get_srcdir)
+    # for dotcmd to find the sourced files
+    PATH=\"\${PATH}:\${srcdir}\"
+    atf_check -o file:\"\${srcdir}/out/${case_id}.out\" \\
+            \"\${srcdir}/${case_id}\"
+}
+" # end eval
+        done
+    done
+done
+
+atf_init_test_cases()
+{
+    for case_id in ${case_ids}
+    do
+        atf_add_test_case "${case_id}"
+    done
+}

Index: src/tests/bin/sh/dotcmd/out/case_break_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_break_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_break_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before case
+before break
+after break, return value: 0
+after case
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_break_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_break_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_break_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+compound start
+before break
+after break, return value: 0
+compound end
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_break_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_break_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_break_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before break
+after break, return value: 0
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_break_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_break_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_break_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+before case
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_break_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_break_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_break_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before function
+before break
+after break
+after function
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_break_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_break_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_break_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+subshell start
+before break
+after break, return value: 0
+subshell end
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_break_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_break_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_break_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+before case
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_break_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_break_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_break_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+before case
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_continue_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_continue_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_continue_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before case
+before continue
+after continue, return value: 0
+after case
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_continue_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_continue_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_continue_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+compound start
+before continue
+after continue, return value: 0
+compound end
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_continue_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_continue_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_continue_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before continue
+after continue, return value: 0
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_continue_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_continue_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_continue_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_continue_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_continue_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_continue_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before function
+before continue
+after continue
+after function
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_continue_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_continue_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_continue_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+subshell start
+before continue
+after continue, return value: 0
+subshell end
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_continue_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_continue_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_continue_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_continue_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_continue_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_continue_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_return_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_return_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_return_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_return_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_return_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_return_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_return_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_return_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_return_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before case
+before dotcmd
+before return
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_return_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_return_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_return_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_return_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_return_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_return_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+before case
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_return_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_return_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_return_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_return_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_return_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_return_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/case_return_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/case_return_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/case_return_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
+after case
Index: src/tests/bin/sh/dotcmd/out/compound_break_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_break_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_break_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+before case
+before break
+after break, return value: 0
+after case
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_break_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_break_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_break_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+compound start
+before break
+after break, return value: 0
+compound end
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_break_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_break_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_break_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+compound start
+before dotcmd
+before break
+after break, return value: 0
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_break_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_break_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_break_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+compound start
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_break_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_break_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_break_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+before function
+before break
+after break
+after function
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_break_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_break_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_break_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+subshell start
+before break
+after break, return value: 0
+subshell end
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_break_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_break_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_break_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+compound start
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_break_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_break_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_break_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+compound start
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_continue_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_continue_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_continue_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+before case
+before continue
+after continue, return value: 0
+after case
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_continue_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_continue_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_continue_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+compound start
+before continue
+after continue, return value: 0
+compound end
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_continue_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_continue_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_continue_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+compound start
+before dotcmd
+before continue
+after continue, return value: 0
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_continue_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_continue_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_continue_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_continue_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_continue_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_continue_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+before function
+before continue
+after continue
+after function
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_continue_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_continue_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_continue_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+subshell start
+before continue
+after continue, return value: 0
+subshell end
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_continue_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_continue_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_continue_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_continue_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_continue_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_continue_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+compound start
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_return_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_return_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_return_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+compound start
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_return_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_return_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_return_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+compound start
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_return_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_return_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_return_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+compound start
+before dotcmd
+before return
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_return_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_return_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_return_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+compound start
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_return_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_return_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_return_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+compound start
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_return_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_return_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_return_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+compound start
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_return_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_return_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_return_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+compound start
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/compound_return_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/compound_return_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/compound_return_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+compound start
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
+compound end
Index: src/tests/bin/sh/dotcmd/out/file_break_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_break_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_break_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+before case
+before break
+after break, return value: 0
+after case
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_break_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_break_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_break_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+compound start
+before break
+after break, return value: 0
+compound end
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_break_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_break_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_break_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before dotcmd
+before break
+after break, return value: 0
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_break_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_break_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_break_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_break_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_break_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_break_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+before function
+before break
+after break
+after function
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_break_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_break_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_break_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+subshell start
+before break
+after break, return value: 0
+subshell end
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_break_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_break_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_break_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_break_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_break_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_break_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_continue_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_continue_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_continue_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+before case
+before continue
+after continue, return value: 0
+after case
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_continue_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_continue_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_continue_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+compound start
+before continue
+after continue, return value: 0
+compound end
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_continue_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_continue_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_continue_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before dotcmd
+before continue
+after continue, return value: 0
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_continue_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_continue_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_continue_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_continue_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_continue_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_continue_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+before function
+before continue
+after continue
+after function
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_continue_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_continue_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_continue_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+subshell start
+before continue
+after continue, return value: 0
+subshell end
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_continue_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_continue_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_continue_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_continue_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_continue_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_continue_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_return_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_return_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_return_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_return_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_return_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_return_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_return_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_return_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_return_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,3 @@
+before dotcmd
+before return
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_return_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_return_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_return_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_return_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_return_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_return_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_return_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_return_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_return_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_return_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_return_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_return_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/file_return_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/file_return_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/file_return_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
Index: src/tests/bin/sh/dotcmd/out/for_break_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_break_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_break_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before for
+before dotcmd
+before case
+before break
+after for
Index: src/tests/bin/sh/dotcmd/out/for_break_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_break_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_break_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before for
+before dotcmd
+compound start
+before break
+after for
Index: src/tests/bin/sh/dotcmd/out/for_break_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_break_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_break_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before for
+before dotcmd
+before break
+after for
Index: src/tests/bin/sh/dotcmd/out/for_break_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_break_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_break_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,12 @@
+before for
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_break_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_break_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_break_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before for
+before dotcmd
+before function
+before break
+after for
Index: src/tests/bin/sh/dotcmd/out/for_break_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_break_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_break_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before for
+before dotcmd
+subshell start
+before break
+after dotcmd, return value: 0
+before dotcmd
+subshell start
+before break
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_break_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_break_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_break_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,12 @@
+before for
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_break_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_break_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_break_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,12 @@
+before for
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_continue_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_continue_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_continue_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before for
+before dotcmd
+before case
+before continue
+before dotcmd
+before case
+before continue
+after for
Index: src/tests/bin/sh/dotcmd/out/for_continue_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_continue_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_continue_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before for
+before dotcmd
+compound start
+before continue
+before dotcmd
+compound start
+before continue
+after for
Index: src/tests/bin/sh/dotcmd/out/for_continue_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_continue_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_continue_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before for
+before dotcmd
+before continue
+before dotcmd
+before continue
+after for
Index: src/tests/bin/sh/dotcmd/out/for_continue_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_continue_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_continue_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,14 @@
+before for
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_continue_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_continue_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_continue_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before for
+before dotcmd
+before function
+before continue
+before dotcmd
+before function
+before continue
+after for
Index: src/tests/bin/sh/dotcmd/out/for_continue_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_continue_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_continue_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before for
+before dotcmd
+subshell start
+before continue
+after dotcmd, return value: 0
+before dotcmd
+subshell start
+before continue
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_continue_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_continue_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_continue_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,14 @@
+before for
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_continue_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_continue_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_continue_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,14 @@
+before for
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_return_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_return_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_return_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before for
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_return_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_return_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_return_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before for
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_return_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_return_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_return_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before for
+before dotcmd
+before return
+after dotcmd, return value: 0
+before dotcmd
+before return
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_return_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_return_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_return_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before for
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_return_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_return_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_return_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,12 @@
+before for
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_return_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_return_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_return_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before for
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_return_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_return_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_return_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before for
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/for_return_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/for_return_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/for_return_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before for
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
+after for
Index: src/tests/bin/sh/dotcmd/out/func_break_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_break_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_break_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+before case
+before break
+after break, return value: 0
+after case
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_break_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_break_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_break_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+compound start
+before break
+after break, return value: 0
+compound end
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_break_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_break_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_break_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before function
+before dotcmd
+before break
+after break, return value: 0
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_break_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_break_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_break_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+before function
+before dotcmd
+before for
+before break
+after for
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_break_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_break_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_break_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+before function
+before break
+after break
+after function
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_break_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_break_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_break_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+subshell start
+before break
+after break, return value: 0
+subshell end
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_break_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_break_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_break_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+before function
+before dotcmd
+before until
+before break
+after until
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_break_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_break_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_break_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+before function
+before dotcmd
+before while
+before break
+after while
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_continue_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_continue_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_continue_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+before case
+before continue
+after continue, return value: 0
+after case
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_continue_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_continue_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_continue_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+compound start
+before continue
+after continue, return value: 0
+compound end
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_continue_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_continue_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_continue_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before function
+before dotcmd
+before continue
+after continue, return value: 0
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_continue_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_continue_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_continue_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_continue_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_continue_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_continue_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+before function
+before continue
+after continue
+after function
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_continue_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_continue_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_continue_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+subshell start
+before continue
+after continue, return value: 0
+subshell end
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_continue_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_continue_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_continue_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_continue_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_continue_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_continue_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before function
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_return_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_return_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_return_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before function
+before dotcmd
+before case
+before return
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_return_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_return_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_return_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before function
+before dotcmd
+compound start
+before return
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_return_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_return_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_return_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before function
+before dotcmd
+before return
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_return_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_return_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_return_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before function
+before dotcmd
+before for
+before return
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_return_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_return_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_return_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+before function
+before dotcmd
+before function
+before return
+after function
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_return_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_return_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_return_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before function
+before dotcmd
+subshell start
+before return
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_return_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_return_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_return_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before function
+before dotcmd
+before until
+before return
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/func_return_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/func_return_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/func_return_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before function
+before dotcmd
+before while
+before return
+after dotcmd
+after function
Index: src/tests/bin/sh/dotcmd/out/subshell_break_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_break_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_break_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+before case
+before break
+after break, return value: 0
+after case
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_break_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_break_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_break_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+compound start
+before break
+after break, return value: 0
+compound end
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_break_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_break_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_break_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+subshell start
+before dotcmd
+before break
+after break, return value: 0
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_break_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_break_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_break_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+subshell start
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_break_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_break_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_break_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+before function
+before break
+after break
+after function
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_break_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_break_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_break_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+subshell start
+before break
+after break, return value: 0
+subshell end
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_break_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_break_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_break_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+subshell start
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_break_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_break_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_break_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+subshell start
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_continue_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_continue_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_continue_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+before case
+before continue
+after continue, return value: 0
+after case
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_continue_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_continue_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_continue_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+compound start
+before continue
+after continue, return value: 0
+compound end
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_continue_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_continue_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_continue_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+subshell start
+before dotcmd
+before continue
+after continue, return value: 0
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_continue_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_continue_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_continue_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_continue_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_continue_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_continue_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+before function
+before continue
+after continue
+after function
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_continue_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_continue_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_continue_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+subshell start
+before continue
+after continue, return value: 0
+subshell end
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_continue_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_continue_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_continue_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_continue_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_continue_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_continue_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+subshell start
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_return_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_return_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_return_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+subshell start
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_return_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_return_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_return_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+subshell start
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_return_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_return_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_return_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+subshell start
+before dotcmd
+before return
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_return_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_return_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_return_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+subshell start
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_return_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_return_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_return_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,7 @@
+subshell start
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_return_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_return_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_return_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+subshell start
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_return_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_return_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_return_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+subshell start
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/subshell_return_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/subshell_return_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/subshell_return_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+subshell start
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
+subshell end
Index: src/tests/bin/sh/dotcmd/out/until_break_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_break_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_break_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before until
+before dotcmd
+before case
+before break
+after until
Index: src/tests/bin/sh/dotcmd/out/until_break_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_break_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_break_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before until
+before dotcmd
+compound start
+before break
+after until
Index: src/tests/bin/sh/dotcmd/out/until_break_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_break_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_break_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,4 @@
+before until
+before dotcmd
+before break
+after until
Index: src/tests/bin/sh/dotcmd/out/until_break_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_break_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_break_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,12 @@
+before until
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_break_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_break_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_break_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,5 @@
+before until
+before dotcmd
+before function
+before break
+after until
Index: src/tests/bin/sh/dotcmd/out/until_break_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_break_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_break_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before until
+before dotcmd
+subshell start
+before break
+after dotcmd, return value: 0
+before dotcmd
+subshell start
+before break
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_break_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_break_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_break_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,12 @@
+before until
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_break_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_break_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_break_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,12 @@
+before until
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_continue_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_continue_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_continue_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before until
+before dotcmd
+before case
+before continue
+before dotcmd
+before case
+before continue
+after until
Index: src/tests/bin/sh/dotcmd/out/until_continue_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_continue_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_continue_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before until
+before dotcmd
+compound start
+before continue
+before dotcmd
+compound start
+before continue
+after until
Index: src/tests/bin/sh/dotcmd/out/until_continue_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_continue_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_continue_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,6 @@
+before until
+before dotcmd
+before continue
+before dotcmd
+before continue
+after until
Index: src/tests/bin/sh/dotcmd/out/until_continue_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_continue_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_continue_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,14 @@
+before until
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_continue_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_continue_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_continue_func.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before until
+before dotcmd
+before function
+before continue
+before dotcmd
+before function
+before continue
+after until
Index: src/tests/bin/sh/dotcmd/out/until_continue_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_continue_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_continue_subshell.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before until
+before dotcmd
+subshell start
+before continue
+after dotcmd, return value: 0
+before dotcmd
+subshell start
+before continue
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_continue_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_continue_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_continue_until.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,14 @@
+before until
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_continue_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_continue_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_continue_while.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,14 @@
+before until
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_return_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_return_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_return_case.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before until
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_return_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_return_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_return_compound.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before until
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_return_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_return_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_return_file.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,8 @@
+before until
+before dotcmd
+before return
+after dotcmd, return value: 0
+before dotcmd
+before return
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_return_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_return_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_return_for.out	Sun Aug 10 06:57:02 2014
@@ -0,0 +1,10 @@
+before until
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_return_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_return_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_return_func.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,12 @@
+before until
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_return_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_return_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_return_subshell.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before until
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_return_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_return_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_return_until.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before until
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/until_return_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/until_return_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/until_return_while.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before until
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
+after until
Index: src/tests/bin/sh/dotcmd/out/while_break_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_break_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_break_case.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,5 @@
+before while
+before dotcmd
+before case
+before break
+after while
Index: src/tests/bin/sh/dotcmd/out/while_break_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_break_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_break_compound.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,5 @@
+before while
+before dotcmd
+compound start
+before break
+after while
Index: src/tests/bin/sh/dotcmd/out/while_break_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_break_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_break_file.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,4 @@
+before while
+before dotcmd
+before break
+after while
Index: src/tests/bin/sh/dotcmd/out/while_break_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_break_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_break_for.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,12 @@
+before while
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_break_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_break_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_break_func.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,5 @@
+before while
+before dotcmd
+before function
+before break
+after while
Index: src/tests/bin/sh/dotcmd/out/while_break_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_break_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_break_subshell.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before while
+before dotcmd
+subshell start
+before break
+after dotcmd, return value: 0
+before dotcmd
+subshell start
+before break
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_break_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_break_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_break_until.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,12 @@
+before while
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_break_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_break_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_break_while.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,12 @@
+before while
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_continue_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_continue_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_continue_case.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,8 @@
+before while
+before dotcmd
+before case
+before continue
+before dotcmd
+before case
+before continue
+after while
Index: src/tests/bin/sh/dotcmd/out/while_continue_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_continue_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_continue_compound.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,8 @@
+before while
+before dotcmd
+compound start
+before continue
+before dotcmd
+compound start
+before continue
+after while
Index: src/tests/bin/sh/dotcmd/out/while_continue_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_continue_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_continue_file.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,6 @@
+before while
+before dotcmd
+before continue
+before dotcmd
+before continue
+after while
Index: src/tests/bin/sh/dotcmd/out/while_continue_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_continue_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_continue_for.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,14 @@
+before while
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_continue_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_continue_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_continue_func.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,8 @@
+before while
+before dotcmd
+before function
+before continue
+before dotcmd
+before function
+before continue
+after while
Index: src/tests/bin/sh/dotcmd/out/while_continue_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_continue_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_continue_subshell.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before while
+before dotcmd
+subshell start
+before continue
+after dotcmd, return value: 0
+before dotcmd
+subshell start
+before continue
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_continue_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_continue_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_continue_until.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,14 @@
+before while
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_continue_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_continue_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_continue_while.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,14 @@
+before while
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_return_case.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_return_case.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_return_case.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before while
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_return_compound.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_return_compound.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_return_compound.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before while
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_return_file.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_return_file.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_return_file.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,8 @@
+before while
+before dotcmd
+before return
+after dotcmd, return value: 0
+before dotcmd
+before return
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_return_for.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_return_for.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_return_for.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before while
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_return_func.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_return_func.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_return_func.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,12 @@
+before while
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_return_subshell.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_return_subshell.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_return_subshell.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before while
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
+before dotcmd
+subshell start
+before return
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_return_until.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_return_until.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_return_until.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before while
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
+before dotcmd
+before until
+before return
+after dotcmd, return value: 0
+after while
Index: src/tests/bin/sh/dotcmd/out/while_return_while.out
diff -u /dev/null src/tests/bin/sh/dotcmd/out/while_return_while.out:1.1.2.2
--- /dev/null	Sun Aug 10 06:57:03 2014
+++ src/tests/bin/sh/dotcmd/out/while_return_while.out	Sun Aug 10 06:57:03 2014
@@ -0,0 +1,10 @@
+before while
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
+before dotcmd
+before while
+before return
+after dotcmd, return value: 0
+after while

Reply via email to