aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-06-08 13:00:46 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-06-08 13:00:46 +0200
commit22cc92833f98450f37a2e82e4a6a36c418b4cc67 (patch)
tree3469490c70fbea7ae324aefe8e610423c0f59199 /testsuite
parent04a0b7f0805e1faac9e277c46328e8785966fa6c (diff)
downloadbusybox-22cc92833f98450f37a2e82e4a6a36c418b4cc67.tar.gz
awk: fix testsuite
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/awk.tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests
index 0db6a26e4..a7a533ba0 100755
--- a/testsuite/awk.tests
+++ b/testsuite/awk.tests
@@ -347,14 +347,20 @@ testing "awk continue" \
"" \
'BEGIN { if (1) continue; else a = 1 }'
+optional FEATURE_AWK_GNU_EXTENSIONS
testing "awk handles invalid for loop" \
"awk -e '{ for() }' 2>&1" "awk: cmd. line:1: Unexpected token\n" "" ""
+SKIP=
+optional FEATURE_AWK_GNU_EXTENSIONS
testing "awk handles colon not preceded by ternary" \
"awk -e foo:bar: 2>&1" "awk: cmd. line:1: Unexpected token\n" "" ""
+SKIP=
+optional FEATURE_AWK_GNU_EXTENSIONS
testing "awk errors on missing delete arg" \
"awk -e '{delete}' 2>&1" "awk: cmd. line:1: Too few arguments\n" "" ""
+SKIP=
# testing "description" "command" "result" "infile" "stdin"
testing 'awk negative field access' \