diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-08 16:59:24 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-08 16:59:24 +0000 |
| commit | ffe6f8085170ed6a9780906374ca781e9c4291cb (patch) | |
| tree | d3c23d5cdb2accd33b0d834329dcc47b172a872a /shell | |
| parent | 14725f82b61ecae6014c86762d3f2a768d573839 (diff) | |
| download | busybox-w32-ffe6f8085170ed6a9780906374ca781e9c4291cb.tar.gz busybox-w32-ffe6f8085170ed6a9780906374ca781e9c4291cb.tar.bz2 busybox-w32-ffe6f8085170ed6a9780906374ca781e9c4291cb.zip | |
expand leak_all1.tests
Diffstat (limited to 'shell')
| -rwxr-xr-x | shell/hush_test/hush-z_slow/leak_all1.tests | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/shell/hush_test/hush-z_slow/leak_all1.tests b/shell/hush_test/hush-z_slow/leak_all1.tests index 6834d9a64..b26e2df02 100755 --- a/shell/hush_test/hush-z_slow/leak_all1.tests +++ b/shell/hush_test/hush-z_slow/leak_all1.tests | |||
| @@ -17,13 +17,16 @@ while test $i != 99; do | |||
| 17 | : << HERE >/dev/null; true <<HERE | 17 | : << HERE >/dev/null; true <<HERE |
| 18 | Hello builtin : | 18 | Hello builtin : |
| 19 | HERE | 19 | HERE |
| 20 | Hello true | 20 | Hello $i true |
| 21 | HERE | 21 | HERE |
| 22 | elif false; then | 22 | elif false; then |
| 23 | true; echo Doesnt run | 23 | true; echo Doesnt run |
| 24 | else | 24 | else |
| 25 | { true; }; echo Doesnt run too >>/foo/bar | 25 | { true; }; echo Doesnt run too >>/foo/bar |
| 26 | fi | 26 | fi |
| 27 | { : /bin/*; } | ||
| 28 | set -- par1_$i par2_$i par3_$i par4_$i | ||
| 29 | trap "echo trap$i" WINCH | ||
| 27 | : $((i++)) | 30 | : $((i++)) |
| 28 | done | 31 | done |
| 29 | 32 | ||
| @@ -42,13 +45,16 @@ while test $i != 99; do | |||
| 42 | : << HERE >/dev/null; true <<HERE | 45 | : << HERE >/dev/null; true <<HERE |
| 43 | Hello builtin : | 46 | Hello builtin : |
| 44 | HERE | 47 | HERE |
| 45 | Hello true | 48 | Hello $i true |
| 46 | HERE | 49 | HERE |
| 47 | elif false; then | 50 | elif false; then |
| 48 | true; echo Doesnt run | 51 | true; echo Doesnt run |
| 49 | else | 52 | else |
| 50 | { true; }; echo Doesnt run too >>/foo/bar | 53 | { true; }; echo Doesnt run too >>/foo/bar |
| 51 | fi | 54 | fi |
| 55 | { : /bin/*; } | ||
| 56 | set -- par1_$i par2_$i par3_$i par4_$i | ||
| 57 | trap "echo trap$i" WINCH | ||
| 52 | : $((i++)) | 58 | : $((i++)) |
| 53 | done | 59 | done |
| 54 | 60 | ||
