randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -18,9 +18,11 @@ testing "awk -F case 7" "awk -F '[#]' '{ print NF }'" "5\n" "" "z##abc##zz\n"
|
||||
|
||||
# 4294967295 = 0xffffffff
|
||||
testing "awk bitwise op" "awk '{ print or(4294967295,1) }'" "4.29497e+09\n" "" "\n"
|
||||
optional DESKTOP
|
||||
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"
|
||||
SKIP=
|
||||
|
||||
# long field seps requiring regex
|
||||
testing "awk long field sep" "awk -F-- '{ print NF, length(\$NF), \$NF }'" \
|
||||
|
Reference in New Issue
Block a user