aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-z_slow
AgeCommit message (Collapse)Author
2018-04-11shell: add 6856 $IFS tests to testsuitesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-12hush: plug a memory leakDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-04hush: add more complex case to leak testcase, fix found breakageDenys Vlasenko
function old new delta unset_local_var_len - 167 +167 run_list 2350 2457 +107 set_vars_and_save_old - 87 +87 free_pipe 207 227 +20 builtin_unset 220 229 +9 builtin_exit 49 47 -2 free_strings_and_unset 53 - -53 set_vars_all_and_save_old 87 - -87 unset_local_var 168 - -168 ------------------------------------------------------------------------------ (add/remove: 2/3 grow/shrink: 3/1 up/down: 390/-310) Total: 80 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-04-26make leak test more robust by unsetting all varsDenis Vlasenko
2009-04-26hush: nommu fix for function passingDenis Vlasenko
2009-04-19hush: fix "export not_yet_defined_var", fix parsing of "cmd | }"Denis Vlasenko
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
2009-04-11hush: fix "while...do f1() {a;}; f1; f1 {b;}; f1; done" bugDenis Vlasenko
2009-04-10hush: tweak testsDenis Vlasenko
2009-04-10hush: add function testsDenis Vlasenko
2009-04-09hush: plug the leak of expanded heredocDenis Vlasenko
2009-04-08hush: more rodust detection of unterminated strings etc;Denis Vlasenko
fix a case where we forget to copy `cmd` text; optimize nommu heredoc helper by not passing environment to it; add several tests function old new delta add_till_closing_paren 256 308 +52 parse_stream 2337 2378 +41 add_till_backquote 82 111 +29 re_execute_shell 269 284 +15 handle_dollar 802 812 +10 parse_stream_dquoted 316 320 +4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/0 up/down: 151/0) Total: 151 bytes
2009-04-08expand leak_all1.testsDenis Vlasenko
2009-04-08hush: add a leak test which currently failsDenis Vlasenko
2009-04-08hush: add leak detector helper; fix/add tests for itDenis Vlasenko
function old new delta builtin_memleak - 92 +92 bltins 288 300 +12
2008-10-09hush: fix environment and memory leaks, add tests for themDenis Vlasenko
function old new delta add_malloced_string_to_strings - 110 +110 run_list 1999 2086 +87 free_strings_and_unsetenv - 87 +87 hush_version_str - 18 +18 pseudo_exec_argv 139 146 +7 static.version_str 17 - -17 free_pipe 237 210 -27 done_word 790 642 -148 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/2 up/down: 309/-192) Total: 117 bytes
2007-11-23hush: plug memory leakDenis Vlasenko
2007-05-25hush: rework variable storage and environment handling.Denis Vlasenko
More that -100 bytes of code + memory leak plugged. Added a testcase for it.