From 7b46d11582047d0dd21b547ff4a913defe646d40 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 11 Sep 2011 00:30:56 +0200 Subject: awk: fix a SEGV Signed-off-by: Denys Vlasenko --- testsuite/awk.tests | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testsuite') 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 " \ "" "" +testing "awk handles empty ()" \ + "awk 'BEGIN {print()}' 2>&1" "awk: cmd. line:1: Empty sequence\n" "" "" + exit $FAILCOUNT -- cgit v1.2.3