diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-19 23:07:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-19 23:07:51 +0000 |
commit | dcd78c4d0ff71a36d5c88953a62f5df6a4f31a9c (patch) | |
tree | 0fe10d42d2e0a35a4231aa81314691a972098819 /shell/hush_test | |
parent | 3798db58cfa0e939d0fc1822c9864355c1422cd0 (diff) | |
download | busybox-w32-dcd78c4d0ff71a36d5c88953a62f5df6a4f31a9c.tar.gz busybox-w32-dcd78c4d0ff71a36d5c88953a62f5df6a4f31a9c.tar.bz2 busybox-w32-dcd78c4d0ff71a36d5c88953a62f5df6a4f31a9c.zip |
hush: fix "export not_yet_defined_var", fix parsing of "cmd | }"
corner case; improve hush_leaktool.sh;
fix some false positives in testsuite
function old new delta
builtin_export 191 206 +15
parse_stream 2196 2200 +4
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-trap/catch.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-z_slow/leak_all1.tests | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-trap/catch.right b/shell/hush_test/hush-trap/catch.right index 9e34c4c49..80a062c4b 100644 --- a/shell/hush_test/hush-trap/catch.right +++ b/shell/hush_test/hush-trap/catch.right | |||
@@ -2,3 +2,4 @@ sending USR2 | |||
2 | caught | 2 | caught |
3 | sending USR2 | 3 | sending USR2 |
4 | sending USR2 | 4 | sending USR2 |
5 | USR2 | ||
diff --git a/shell/hush_test/hush-z_slow/leak_all1.tests b/shell/hush_test/hush-z_slow/leak_all1.tests index 21fdb0d1e..17ce0c6fa 100755 --- a/shell/hush_test/hush-z_slow/leak_all1.tests +++ b/shell/hush_test/hush-z_slow/leak_all1.tests | |||
@@ -67,6 +67,7 @@ HERE | |||
67 | f >/dev/null | 67 | f >/dev/null |
68 | : $((i++)) | 68 | : $((i++)) |
69 | done | 69 | done |
70 | unset -f f | ||
70 | 71 | ||
71 | memleak | 72 | memleak |
72 | 73 | ||
@@ -133,6 +134,7 @@ HERE | |||
133 | f >/dev/null | 134 | f >/dev/null |
134 | : $((i++)) | 135 | : $((i++)) |
135 | done | 136 | done |
137 | unset -f f | ||
136 | 138 | ||
137 | 139 | ||
138 | memleak | 140 | memleak |