From 556d1304d0ae18c6876407c99e575cf78376e694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 17 Jan 2010 15:36:01 +0200 Subject: [PATCH] (testsuite) Add check for awk with POSIX character classes. --- test/runLint | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/runLint b/test/runLint index 9a64326f..b0016763 100755 --- a/test/runLint +++ b/test/runLint @@ -16,7 +16,10 @@ cd $(dirname "$0") ; cd .. gitgrep "\bawk\b.*-F([[:space:]]|[[:space:]]*[\"'][^\"']{2,})" \ 'awk with -F char or -F ERE, use -Fchar instead (Solaris)' - + +gitgrep "\bawk\b.*\[:[a-z]*:\]" \ + 'awk with POSIX character class not supported in mawk (Debian/Ubuntu)' + gitgrep '\bsed\b.*\\[?+]' \ 'sed with ? or +, use POSIX BRE instead (\{m,n\})'