diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-01 01:57:36 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-01 01:57:36 +0000 |
commit | 3bb2bbd68419ce4e777a89bf43ea7e5781dd787f (patch) | |
tree | d0cb885fb2250f447dd5e4ffbbc4a6e14e1125ed /testsuite/awk.tests | |
parent | 0a656920487bf844664ca58ce5cef158228490fa (diff) |
awk: fix a case with multiple -f options. simplify -f file reading.
function old new delta
parse_expr 833 841 +8
qrealloc 33 36 +3
next_input_file 203 198 -5
afopen 22 - -22
ftello 41 - -41
ftell 41 - -41
__GI_ftell 41 - -41
awk_main 1002 944 -58
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 2/2 up/down: 11/-208) Total: -197 bytes
text data bss dec hex filename
804232 610 6804 811646 c627e busybox_old
804120 610 6804 811534 c620e busybox_unstripped
Diffstat (limited to 'testsuite/awk.tests')
-rwxr-xr-x | testsuite/awk.tests | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests index 91657418d..f69da2cc9 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests @@ -17,4 +17,11 @@ testing "awk -F case 5" "awk -F '[#]' '{ print NF }'" "4\n" "" "#abc##zz\n" testing "awk -F case 6" "awk -F '[#]' '{ print NF }'" "4\n" "" "z#abc##zz\n" testing "awk -F case 7" "awk -F '[#]' '{ print NF }'" "5\n" "" "z##abc##zz\n" +tar xjf awk_t1.tar.bz2 +testing "awk 'gcc build bug'" \ + "awk -f awk_t1_opt-functions.awk -f awk_t1_opth-gen.awk <awk_t1_input | md5sum" \ + "f842e256461a5ab1ec60b58d16f1114f -\n" \ + "" "" +rm -rf awk_t1_* + exit $FAILCOUNT |