aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-25 13:39:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-25 13:39:24 +0100
commit3581c625151d25d8e1cbc80c44337d398d97cf42 (patch)
tree86a1abc69a3606e6f595a18d72bd1eb48bc505b3 /shell
parent46685a46bbffc04d507ce756f4b703aae024debd (diff)
downloadbusybox-w32-3581c625151d25d8e1cbc80c44337d398d97cf42.tar.gz
busybox-w32-3581c625151d25d8e1cbc80c44337d398d97cf42.tar.bz2
busybox-w32-3581c625151d25d8e1cbc80c44337d398d97cf42.zip
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
-rwxr-xr-xshell/hush_test/hush-misc/func4.tests2
-rwxr-xr-xshell/msh_test/msh-execution/nested_break.tests18
3 files changed, 11 insertions, 11 deletions
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)
2037 break; 2037 break;
2038 cp++; 2038 cp++;
2039 continue; 2039 continue;
2040 } 2040 }
2041 /*{*/ if ((*cp == '}' && depth-- == 0) || (*cp == ',' && depth == 0)) 2041 /*{*/ if ((*cp == '}' && depth-- == 0) || (*cp == ',' && depth == 0))
2042 break; 2042 break;
2043 if (*cp++ == '{') /*}*/ 2043 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() {
2 eval "echo \"\${val_${1}}\"" 2 eval "echo \"\${val_${1}}\""
3} 3}
4 4
5val_x=24 5val_x=24
6(func x) 6(func x)
7echo Done 7echo 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 @@
3n=0 3n=0
4while : 4while :
5do 5do
6 echo A 6 echo A
7 while : 7 while :
8 do 8 do
9 echo B 9 echo B
10 break 10 break
11 done 11 done
12 echo iteration 12 echo iteration
13 [ $n = 1 ] && break 13 [ $n = 1 ] && break
14 echo C 14 echo C
15 n=`expr $n + 1` 15 n=`expr $n + 1`
16done 16done
17echo D 17echo D