Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/bin/sh PR/48843: Jarmo Jaakkola: Test cses for break/c...
details: https://anonhg.NetBSD.org/src/rev/28dace3bfe11
branches: trunk
changeset: 329630:28dace3bfe11
user: christos <christos%NetBSD.org@localhost>
date: Sat May 31 14:29:06 2014 +0000
description:
PR/48843: Jarmo Jaakkola: Test cses for break/continue/return broken
inside dot commands:
The test cases are named with the pattern
dotscope_cmd_cmdscope,
where dotscope is the scope in which the dot command is and cmdscope
is the scope where cmd is in the sourced file.
diffstat:
tests/bin/sh/Makefile | 12 +-
tests/bin/sh/dotcmd/Makefile | 40 +++++
tests/bin/sh/dotcmd/out/case_break_case.out | 8 +
tests/bin/sh/dotcmd/out/case_break_compound.out | 8 +
tests/bin/sh/dotcmd/out/case_break_file.out | 6 +
tests/bin/sh/dotcmd/out/case_break_for.out | 7 +
tests/bin/sh/dotcmd/out/case_break_func.out | 8 +
tests/bin/sh/dotcmd/out/case_break_subshell.out | 8 +
tests/bin/sh/dotcmd/out/case_break_until.out | 7 +
tests/bin/sh/dotcmd/out/case_break_while.out | 7 +
tests/bin/sh/dotcmd/out/case_continue_case.out | 8 +
tests/bin/sh/dotcmd/out/case_continue_compound.out | 8 +
tests/bin/sh/dotcmd/out/case_continue_file.out | 6 +
tests/bin/sh/dotcmd/out/case_continue_for.out | 8 +
tests/bin/sh/dotcmd/out/case_continue_func.out | 8 +
tests/bin/sh/dotcmd/out/case_continue_subshell.out | 8 +
tests/bin/sh/dotcmd/out/case_continue_until.out | 8 +
tests/bin/sh/dotcmd/out/case_continue_while.out | 8 +
tests/bin/sh/dotcmd/out/case_return_case.out | 6 +
tests/bin/sh/dotcmd/out/case_return_compound.out | 6 +
tests/bin/sh/dotcmd/out/case_return_file.out | 5 +
tests/bin/sh/dotcmd/out/case_return_for.out | 6 +
tests/bin/sh/dotcmd/out/case_return_func.out | 7 +
tests/bin/sh/dotcmd/out/case_return_subshell.out | 6 +
tests/bin/sh/dotcmd/out/case_return_until.out | 6 +
tests/bin/sh/dotcmd/out/case_return_while.out | 6 +
tests/bin/sh/dotcmd/out/compound_break_case.out | 8 +
tests/bin/sh/dotcmd/out/compound_break_compound.out | 8 +
tests/bin/sh/dotcmd/out/compound_break_file.out | 6 +
tests/bin/sh/dotcmd/out/compound_break_for.out | 7 +
tests/bin/sh/dotcmd/out/compound_break_func.out | 8 +
tests/bin/sh/dotcmd/out/compound_break_subshell.out | 8 +
tests/bin/sh/dotcmd/out/compound_break_until.out | 7 +
tests/bin/sh/dotcmd/out/compound_break_while.out | 7 +
tests/bin/sh/dotcmd/out/compound_continue_case.out | 8 +
tests/bin/sh/dotcmd/out/compound_continue_compound.out | 8 +
tests/bin/sh/dotcmd/out/compound_continue_file.out | 6 +
tests/bin/sh/dotcmd/out/compound_continue_for.out | 8 +
tests/bin/sh/dotcmd/out/compound_continue_func.out | 8 +
tests/bin/sh/dotcmd/out/compound_continue_subshell.out | 8 +
tests/bin/sh/dotcmd/out/compound_continue_until.out | 8 +
tests/bin/sh/dotcmd/out/compound_continue_while.out | 8 +
tests/bin/sh/dotcmd/out/compound_return_case.out | 6 +
tests/bin/sh/dotcmd/out/compound_return_compound.out | 6 +
tests/bin/sh/dotcmd/out/compound_return_file.out | 5 +
tests/bin/sh/dotcmd/out/compound_return_for.out | 6 +
tests/bin/sh/dotcmd/out/compound_return_func.out | 7 +
tests/bin/sh/dotcmd/out/compound_return_subshell.out | 6 +
tests/bin/sh/dotcmd/out/compound_return_until.out | 6 +
tests/bin/sh/dotcmd/out/compound_return_while.out | 6 +
tests/bin/sh/dotcmd/out/file_break_case.out | 6 +
tests/bin/sh/dotcmd/out/file_break_compound.out | 6 +
tests/bin/sh/dotcmd/out/file_break_file.out | 4 +
tests/bin/sh/dotcmd/out/file_break_for.out | 5 +
tests/bin/sh/dotcmd/out/file_break_func.out | 6 +
tests/bin/sh/dotcmd/out/file_break_subshell.out | 6 +
tests/bin/sh/dotcmd/out/file_break_until.out | 5 +
tests/bin/sh/dotcmd/out/file_break_while.out | 5 +
tests/bin/sh/dotcmd/out/file_continue_case.out | 6 +
tests/bin/sh/dotcmd/out/file_continue_compound.out | 6 +
tests/bin/sh/dotcmd/out/file_continue_file.out | 4 +
tests/bin/sh/dotcmd/out/file_continue_for.out | 6 +
tests/bin/sh/dotcmd/out/file_continue_func.out | 6 +
tests/bin/sh/dotcmd/out/file_continue_subshell.out | 6 +
tests/bin/sh/dotcmd/out/file_continue_until.out | 6 +
tests/bin/sh/dotcmd/out/file_continue_while.out | 6 +
tests/bin/sh/dotcmd/out/file_return_case.out | 4 +
tests/bin/sh/dotcmd/out/file_return_compound.out | 4 +
tests/bin/sh/dotcmd/out/file_return_file.out | 3 +
tests/bin/sh/dotcmd/out/file_return_for.out | 4 +
tests/bin/sh/dotcmd/out/file_return_func.out | 5 +
tests/bin/sh/dotcmd/out/file_return_subshell.out | 4 +
tests/bin/sh/dotcmd/out/file_return_until.out | 4 +
tests/bin/sh/dotcmd/out/file_return_while.out | 4 +
tests/bin/sh/dotcmd/out/for_break_case.out | 5 +
tests/bin/sh/dotcmd/out/for_break_compound.out | 5 +
tests/bin/sh/dotcmd/out/for_break_file.out | 4 +
tests/bin/sh/dotcmd/out/for_break_for.out | 12 +
tests/bin/sh/dotcmd/out/for_break_func.out | 5 +
tests/bin/sh/dotcmd/out/for_break_subshell.out | 10 +
tests/bin/sh/dotcmd/out/for_break_until.out | 12 +
tests/bin/sh/dotcmd/out/for_break_while.out | 12 +
tests/bin/sh/dotcmd/out/for_continue_case.out | 8 +
tests/bin/sh/dotcmd/out/for_continue_compound.out | 8 +
tests/bin/sh/dotcmd/out/for_continue_file.out | 6 +
tests/bin/sh/dotcmd/out/for_continue_for.out | 14 +
tests/bin/sh/dotcmd/out/for_continue_func.out | 8 +
tests/bin/sh/dotcmd/out/for_continue_subshell.out | 10 +
tests/bin/sh/dotcmd/out/for_continue_until.out | 14 +
tests/bin/sh/dotcmd/out/for_continue_while.out | 14 +
tests/bin/sh/dotcmd/out/for_return_case.out | 10 +
tests/bin/sh/dotcmd/out/for_return_compound.out | 10 +
tests/bin/sh/dotcmd/out/for_return_file.out | 8 +
tests/bin/sh/dotcmd/out/for_return_for.out | 10 +
tests/bin/sh/dotcmd/out/for_return_func.out | 12 +
tests/bin/sh/dotcmd/out/for_return_subshell.out | 10 +
tests/bin/sh/dotcmd/out/for_return_until.out | 10 +
tests/bin/sh/dotcmd/out/for_return_while.out | 10 +
tests/bin/sh/dotcmd/out/func_break_case.out | 8 +
tests/bin/sh/dotcmd/out/func_break_compound.out | 8 +
tests/bin/sh/dotcmd/out/func_break_file.out | 6 +
tests/bin/sh/dotcmd/out/func_break_for.out | 7 +
tests/bin/sh/dotcmd/out/func_break_func.out | 8 +
tests/bin/sh/dotcmd/out/func_break_subshell.out | 8 +
tests/bin/sh/dotcmd/out/func_break_until.out | 7 +
tests/bin/sh/dotcmd/out/func_break_while.out | 7 +
tests/bin/sh/dotcmd/out/func_continue_case.out | 8 +
tests/bin/sh/dotcmd/out/func_continue_compound.out | 8 +
tests/bin/sh/dotcmd/out/func_continue_file.out | 6 +
tests/bin/sh/dotcmd/out/func_continue_for.out | 8 +
tests/bin/sh/dotcmd/out/func_continue_func.out | 8 +
tests/bin/sh/dotcmd/out/func_continue_subshell.out | 8 +
tests/bin/sh/dotcmd/out/func_continue_until.out | 8 +
tests/bin/sh/dotcmd/out/func_continue_while.out | 8 +
tests/bin/sh/dotcmd/out/func_return_case.out | 6 +
tests/bin/sh/dotcmd/out/func_return_compound.out | 6 +
tests/bin/sh/dotcmd/out/func_return_file.out | 5 +
tests/bin/sh/dotcmd/out/func_return_for.out | 6 +
tests/bin/sh/dotcmd/out/func_return_func.out | 7 +
tests/bin/sh/dotcmd/out/func_return_subshell.out | 6 +
tests/bin/sh/dotcmd/out/func_return_until.out | 6 +
tests/bin/sh/dotcmd/out/func_return_while.out | 6 +
tests/bin/sh/dotcmd/out/subshell_break_case.out | 8 +
tests/bin/sh/dotcmd/out/subshell_break_compound.out | 8 +
tests/bin/sh/dotcmd/out/subshell_break_file.out | 6 +
tests/bin/sh/dotcmd/out/subshell_break_for.out | 7 +
tests/bin/sh/dotcmd/out/subshell_break_func.out | 8 +
tests/bin/sh/dotcmd/out/subshell_break_subshell.out | 8 +
tests/bin/sh/dotcmd/out/subshell_break_until.out | 7 +
tests/bin/sh/dotcmd/out/subshell_break_while.out | 7 +
tests/bin/sh/dotcmd/out/subshell_continue_case.out | 8 +
tests/bin/sh/dotcmd/out/subshell_continue_compound.out | 8 +
tests/bin/sh/dotcmd/out/subshell_continue_file.out | 6 +
tests/bin/sh/dotcmd/out/subshell_continue_for.out | 8 +
tests/bin/sh/dotcmd/out/subshell_continue_func.out | 8 +
tests/bin/sh/dotcmd/out/subshell_continue_subshell.out | 8 +
tests/bin/sh/dotcmd/out/subshell_continue_until.out | 8 +
tests/bin/sh/dotcmd/out/subshell_continue_while.out | 8 +
tests/bin/sh/dotcmd/out/subshell_return_case.out | 6 +
tests/bin/sh/dotcmd/out/subshell_return_compound.out | 6 +
tests/bin/sh/dotcmd/out/subshell_return_file.out | 5 +
tests/bin/sh/dotcmd/out/subshell_return_for.out | 6 +
tests/bin/sh/dotcmd/out/subshell_return_func.out | 7 +
tests/bin/sh/dotcmd/out/subshell_return_subshell.out | 6 +
tests/bin/sh/dotcmd/out/subshell_return_until.out | 6 +
tests/bin/sh/dotcmd/out/subshell_return_while.out | 6 +
tests/bin/sh/dotcmd/out/until_break_case.out | 5 +
tests/bin/sh/dotcmd/out/until_break_compound.out | 5 +
tests/bin/sh/dotcmd/out/until_break_file.out | 4 +
tests/bin/sh/dotcmd/out/until_break_for.out | 12 +
tests/bin/sh/dotcmd/out/until_break_func.out | 5 +
tests/bin/sh/dotcmd/out/until_break_subshell.out | 10 +
tests/bin/sh/dotcmd/out/until_break_until.out | 12 +
tests/bin/sh/dotcmd/out/until_break_while.out | 12 +
tests/bin/sh/dotcmd/out/until_continue_case.out | 8 +
tests/bin/sh/dotcmd/out/until_continue_compound.out | 8 +
tests/bin/sh/dotcmd/out/until_continue_file.out | 6 +
tests/bin/sh/dotcmd/out/until_continue_for.out | 14 +
tests/bin/sh/dotcmd/out/until_continue_func.out | 8 +
tests/bin/sh/dotcmd/out/until_continue_subshell.out | 10 +
tests/bin/sh/dotcmd/out/until_continue_until.out | 14 +
tests/bin/sh/dotcmd/out/until_continue_while.out | 14 +
tests/bin/sh/dotcmd/out/until_return_case.out | 10 +
tests/bin/sh/dotcmd/out/until_return_compound.out | 10 +
tests/bin/sh/dotcmd/out/until_return_file.out | 8 +
tests/bin/sh/dotcmd/out/until_return_for.out | 10 +
tests/bin/sh/dotcmd/out/until_return_func.out | 12 +
tests/bin/sh/dotcmd/out/until_return_subshell.out | 10 +
tests/bin/sh/dotcmd/out/until_return_until.out | 10 +
tests/bin/sh/dotcmd/out/until_return_while.out | 10 +
tests/bin/sh/dotcmd/out/while_break_case.out | 5 +
tests/bin/sh/dotcmd/out/while_break_compound.out | 5 +
tests/bin/sh/dotcmd/out/while_break_file.out | 4 +
tests/bin/sh/dotcmd/out/while_break_for.out | 12 +
tests/bin/sh/dotcmd/out/while_break_func.out | 5 +
tests/bin/sh/dotcmd/out/while_break_subshell.out | 10 +
tests/bin/sh/dotcmd/out/while_break_until.out | 12 +
tests/bin/sh/dotcmd/out/while_break_while.out | 12 +
tests/bin/sh/dotcmd/out/while_continue_case.out | 8 +
tests/bin/sh/dotcmd/out/while_continue_compound.out | 8 +
tests/bin/sh/dotcmd/out/while_continue_file.out | 6 +
tests/bin/sh/dotcmd/out/while_continue_for.out | 14 +
tests/bin/sh/dotcmd/out/while_continue_func.out | 8 +
tests/bin/sh/dotcmd/out/while_continue_subshell.out | 10 +
tests/bin/sh/dotcmd/out/while_continue_until.out | 14 +
tests/bin/sh/dotcmd/out/while_continue_while.out | 14 +
tests/bin/sh/dotcmd/out/while_return_case.out | 10 +
tests/bin/sh/dotcmd/out/while_return_compound.out | 10 +
tests/bin/sh/dotcmd/out/while_return_file.out | 8 +
tests/bin/sh/dotcmd/out/while_return_for.out | 10 +
tests/bin/sh/dotcmd/out/while_return_func.out | 12 +
tests/bin/sh/dotcmd/out/while_return_subshell.out | 10 +
tests/bin/sh/dotcmd/out/while_return_until.out | 10 +
tests/bin/sh/dotcmd/out/while_return_while.out | 10 +
tests/bin/sh/dotcmd/scoped_command | 129 +++++++++++++++++
tests/bin/sh/dotcmd/t_dotcmd.sh | 76 ++++++++++
196 files changed, 1734 insertions(+), 1 deletions(-)
diffs (truncated from 2522 to 300 lines):
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/Makefile
--- a/tests/bin/sh/Makefile Sat May 31 14:03:08 2014 +0000
+++ b/tests/bin/sh/Makefile Sat May 31 14:29:06 2014 +0000
@@ -1,4 +1,14 @@
-# $NetBSD: Makefile,v 1.2 2012/06/11 18:32:59 njoly Exp $
+# $NetBSD: Makefile,v 1.3 2014/05/31 14:29:06 christos Exp $
+#
+
+.include <bsd.own.mk>
+
+TESTSDIR = ${TESTSBASE}/bin/sh
+
+TESTS_SUBDIRS += dotcmd
+
+.include <bsd.test.mk>
+# $NetBSD: Makefile,v 1.3 2014/05/31 14:29:06 christos Exp $
.include <bsd.own.mk>
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/Makefile Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2014/05/31 14:29:06 christos 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
+ ${.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
+ ${.CURDIR}/scoped_command '${dot_scope}' \
+ '. "${cmd}_${cmd_scope}"' 'dotcmd' 'dotcmd' >'${.TARGET}'
+. endfor
+. endfor
+.endfor
+
+.include <bsd.test.mk>
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_break_case.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_break_case.out Sat May 31 14:29:06 2014 +0000
@@ -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
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_break_compound.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_break_compound.out Sat May 31 14:29:06 2014 +0000
@@ -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
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_break_file.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_break_file.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before break
+after break, return value: 0
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_break_for.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_break_for.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,7 @@
+before case
+before dotcmd
+before for
+before break
+after for
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_break_func.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_break_func.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before function
+before break
+after break
+after function
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_break_subshell.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_break_subshell.out Sat May 31 14:29:06 2014 +0000
@@ -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
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_break_until.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_break_until.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,7 @@
+before case
+before dotcmd
+before until
+before break
+after until
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_break_while.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_break_while.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,7 @@
+before case
+before dotcmd
+before while
+before break
+after while
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_continue_case.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_continue_case.out Sat May 31 14:29:06 2014 +0000
@@ -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
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_continue_compound.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_continue_compound.out Sat May 31 14:29:06 2014 +0000
@@ -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
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_continue_file.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_continue_file.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before continue
+after continue, return value: 0
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_continue_for.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_continue_for.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before for
+before continue
+before continue
+after for
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_continue_func.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_continue_func.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before function
+before continue
+after continue
+after function
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_continue_subshell.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_continue_subshell.out Sat May 31 14:29:06 2014 +0000
@@ -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
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_continue_until.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_continue_until.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before until
+before continue
+before continue
+after until
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_continue_while.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_continue_while.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,8 @@
+before case
+before dotcmd
+before while
+before continue
+before continue
+after while
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_return_case.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_return_case.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before case
+before return
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_return_compound.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_return_compound.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+compound start
+before return
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_return_file.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_return_file.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,5 @@
+before case
+before dotcmd
+before return
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_return_for.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_return_for.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,6 @@
+before case
+before dotcmd
+before for
+before return
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_return_func.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bin/sh/dotcmd/out/case_return_func.out Sat May 31 14:29:06 2014 +0000
@@ -0,0 +1,7 @@
+before case
+before dotcmd
+before function
+before return
+after function
+after dotcmd, return value: 0
+after case
diff -r e2e31f8c1df4 -r 28dace3bfe11 tests/bin/sh/dotcmd/out/case_return_subshell.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
Home |
Main Index |
Thread Index |
Old Index