From 3581c625151d25d8e1cbc80c44337d398d97cf42 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 25 Jan 2010 13:39:24 +0100 Subject: whitespace fixes Signed-off-by: Denys Vlasenko --- shell/hush.c | 2 +- shell/hush_test/hush-misc/func4.tests | 2 +- shell/msh_test/msh-execution/nested_break.tests | 18 +++++++++--------- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'shell') diff --git a/shell/hush.c b/shell/hush.c index 9a9b5bb91..e0c562621 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -2037,7 +2037,7 @@ static const char *next_brace_sub(const char *cp) break; cp++; continue; - } + } /*{*/ if ((*cp == '}' && depth-- == 0) || (*cp == ',' && depth == 0)) break; if (*cp++ == '{') /*}*/ diff --git a/shell/hush_test/hush-misc/func4.tests b/shell/hush_test/hush-misc/func4.tests index 33b1663f3..74c1b9a46 100755 --- a/shell/hush_test/hush-misc/func4.tests +++ b/shell/hush_test/hush-misc/func4.tests @@ -2,6 +2,6 @@ func() { eval "echo \"\${val_${1}}\"" } -val_x=24 +val_x=24 (func x) echo Done diff --git a/shell/msh_test/msh-execution/nested_break.tests b/shell/msh_test/msh-execution/nested_break.tests index f2e6f81ae..1a954d227 100755 --- a/shell/msh_test/msh-execution/nested_break.tests +++ b/shell/msh_test/msh-execution/nested_break.tests @@ -3,15 +3,15 @@ n=0 while : do - echo A - while : - do - echo B - break - done - echo iteration - [ $n = 1 ] && break + echo A + while : + do + echo B + break + done + echo iteration + [ $n = 1 ] && break echo C - n=`expr $n + 1` + n=`expr $n + 1` done echo D -- cgit v1.2.3-55-g6feb