summaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-19 23:07:51 +0000
committerDenis Vlasenko2009-04-19 23:07:51 +0000
commitdcd78c4d0ff71a36d5c88953a62f5df6a4f31a9c (patch)
tree0fe10d42d2e0a35a4231aa81314691a972098819 /shell/hush_test
parent3798db58cfa0e939d0fc1822c9864355c1422cd0 (diff)
downloadbusybox-dcd78c4d0ff71a36d5c88953a62f5df6a4f31a9c.zip
busybox-dcd78c4d0ff71a36d5c88953a62f5df6a4f31a9c.tar.gz
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.right1
-rwxr-xr-xshell/hush_test/hush-z_slow/leak_all1.tests2
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 9e34c4c..80a062c 100644
--- a/shell/hush_test/hush-trap/catch.right
+++ b/shell/hush_test/hush-trap/catch.right
@@ -2,3 +2,4 @@ sending USR2
caught
sending USR2
sending USR2
+USR2
diff --git a/shell/hush_test/hush-z_slow/leak_all1.tests b/shell/hush_test/hush-z_slow/leak_all1.tests
index 21fdb0d..17ce0c6 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
f >/dev/null
: $((i++))
done
+unset -f f
memleak
@@ -133,6 +134,7 @@ HERE
f >/dev/null
: $((i++))
done
+unset -f f
memleak