Last change
on this file since 3119 was 2725, checked in by Bruno Cornec, 13 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
Property svn:executable
set to
*
|
File size:
667 bytes
|
Line | |
---|
1 | # Assignments after some keywords should still work
|
---|
2 |
|
---|
3 | if a=1 true; then a=1 true; elif a=1 true; then a=1 true; else a=1 true; fi
|
---|
4 | echo if1:$?
|
---|
5 | while a=1 true; do a=1 true; break; done
|
---|
6 | echo while1:$?
|
---|
7 | until a=1 false; do a=1 true; break; done
|
---|
8 | echo until1:$?
|
---|
9 |
|
---|
10 | if a=1 true
|
---|
11 | then a=1 true
|
---|
12 | elif a=1 true
|
---|
13 | then a=1 true
|
---|
14 | else a=1 true
|
---|
15 | fi
|
---|
16 | echo if2:$?
|
---|
17 | while a=1 true
|
---|
18 | do a=1 true
|
---|
19 | break
|
---|
20 | done
|
---|
21 | echo while2:$?
|
---|
22 | until a=1 false
|
---|
23 | do a=1 true
|
---|
24 | break
|
---|
25 | done
|
---|
26 | echo until2:$?
|
---|
27 |
|
---|
28 | if
|
---|
29 | a=1 true; then
|
---|
30 | a=1 true; elif
|
---|
31 | a=1 true; then
|
---|
32 | a=1 true; else
|
---|
33 | a=1 true; fi
|
---|
34 | echo if3:$?
|
---|
35 | while
|
---|
36 | a=1 true; do
|
---|
37 | a=1 true; break; done
|
---|
38 | echo while3:$?
|
---|
39 | until
|
---|
40 | a=1 false; do
|
---|
41 | a=1 true; break; done
|
---|
42 | echo until3:$?
|
---|
Note:
See
TracBrowser
for help on using the repository browser.