diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-23 12:50:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-23 12:50:54 +0000 |
commit | f962a0354e2426ef9781df97e4b02b32e438783c (patch) | |
tree | 4e0b3363932fbc0a30d5242b58ca5a0fea48d2a8 /shell/hush_test/run-all | |
parent | f23c3f95e88302923147f159115180da7cf0344e (diff) | |
download | busybox-w32-f962a0354e2426ef9781df97e4b02b32e438783c.tar.gz busybox-w32-f962a0354e2426ef9781df97e4b02b32e438783c.tar.bz2 busybox-w32-f962a0354e2426ef9781df97e4b02b32e438783c.zip |
hush: plug memory leak
Diffstat (limited to 'shell/hush_test/run-all')
-rwxr-xr-x | shell/hush_test/run-all | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush_test/run-all b/shell/hush_test/run-all index ec8323008..0d40ae6df 100755 --- a/shell/hush_test/run-all +++ b/shell/hush_test/run-all | |||
@@ -31,6 +31,7 @@ do_test() | |||
31 | test -x "$x" || continue | 31 | test -x "$x" || continue |
32 | name="${x%%.tests}" | 32 | name="${x%%.tests}" |
33 | test -f "$name.right" || continue | 33 | test -f "$name.right" || continue |
34 | # echo Running test: "$name.right" | ||
34 | { | 35 | { |
35 | "$THIS_SH" "./$x" >"$name.xx" 2>&1 | 36 | "$THIS_SH" "./$x" >"$name.xx" 2>&1 |
36 | diff -u "$name.xx" "$name.right" >"../$1-$x.fail" && rm -f "$name.xx" "../$1-$x.fail" | 37 | diff -u "$name.xx" "$name.right" >"../$1-$x.fail" && rm -f "$name.xx" "../$1-$x.fail" |