diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-11 00:30:56 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-11 00:30:56 +0200 |
commit | 7b46d11582047d0dd21b547ff4a913defe646d40 (patch) | |
tree | f4f6787860df6536bd1e22deba6ddec41a0e3fa1 /testsuite | |
parent | d48fdde3704f453014404fca321e08238dc4acc4 (diff) | |
download | busybox-w32-7b46d11582047d0dd21b547ff4a913defe646d40.tar.gz busybox-w32-7b46d11582047d0dd21b547ff4a913defe646d40.tar.bz2 busybox-w32-7b46d11582047d0dd21b547ff4a913defe646d40.zip |
awk: fix a SEGV
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-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 0afe9b9e7..5a323047d 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests | |||
@@ -202,4 +202,7 @@ end d | |||
202 | " \ | 202 | " \ |
203 | "" "" | 203 | "" "" |
204 | 204 | ||
205 | testing "awk handles empty ()" \ | ||
206 | "awk 'BEGIN {print()}' 2>&1" "awk: cmd. line:1: Empty sequence\n" "" "" | ||
207 | |||
205 | exit $FAILCOUNT | 208 | exit $FAILCOUNT |