diff options
author | Denys Vlasenko | 2011-09-11 00:30:56 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-09-11 00:30:56 +0200 |
commit | 7b46d11582047d0dd21b547ff4a913defe646d40 (patch) | |
tree | f4f6787860df6536bd1e22deba6ddec41a0e3fa1 /testsuite/awk.tests | |
parent | d48fdde3704f453014404fca321e08238dc4acc4 (diff) | |
download | busybox-7b46d11582047d0dd21b547ff4a913defe646d40.zip busybox-7b46d11582047d0dd21b547ff4a913defe646d40.tar.gz |
awk: fix a SEGV
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/awk.tests')
-rwxr-xr-x | testsuite/awk.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests index 0afe9b9..5a32304 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests @@ -202,4 +202,7 @@ end d " \ "" "" +testing "awk handles empty ()" \ + "awk 'BEGIN {print()}' 2>&1" "awk: cmd. line:1: Empty sequence\n" "" "" + exit $FAILCOUNT |