summaryrefslogtreecommitdiff
path: root/testsuite/awk.tests
diff options
context:
space:
mode:
authorDenis Vlasenko2008-09-02 09:00:23 +0000
committerDenis Vlasenko2008-09-02 09:00:23 +0000
commita2e1eea189981e03b2590c2cd59b9ae65a9cea4f (patch)
treeb60ca60a9413444dd2847c320eaa38ea0ec00e93 /testsuite/awk.tests
parentb424930e4ea971ff8675c30d5dc4445c173b2b1a (diff)
downloadbusybox-a2e1eea189981e03b2590c2cd59b9ae65a9cea4f.zip
busybox-a2e1eea189981e03b2590c2cd59b9ae65a9cea4f.tar.gz
awk: improve nadling of negative numbers in bitwise ops;
fix handling of octal costants. add test for it function old new delta getvar_i_int - 93 +93 my_strtod - 84 +84 qrealloc 33 36 +3 getvar_i 99 95 -4 next_token 979 919 -60 evaluate 6359 5627 -732 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/3 up/down: 180/-796) Total: -616 bytes
Diffstat (limited to 'testsuite/awk.tests')
-rwxr-xr-xtestsuite/awk.tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests
index b3c076e..aa38636 100755
--- a/testsuite/awk.tests
+++ b/testsuite/awk.tests
@@ -20,6 +20,7 @@ testing "awk -F case 7" "awk -F '[#]' '{ print NF }'" "5\n" "" "z##abc##zz\n"
testing "awk bitwise op" "awk '{ print or(4294967295,1) }'" "4.29497e+09\n" "" "\n"
testing "awk hex const 1" "awk '{ print or(0xffffffff,1) }'" "4.29497e+09\n" "" "\n"
testing "awk hex const 2" "awk '{ print or(0x80000000,1) }'" "2.14748e+09\n" "" "\n"
+testing "awk oct const" "awk '{ print or(01234,1) }'" "669\n" "" "\n"
tar xjf awk_t1.tar.bz2
testing "awk 'gcc build bug'" \