From 9f449569df9c94670f51fd8cd5558b66884cd877 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Dec 2023 22:51:52 +0100 Subject: Improve portability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- tests/enums | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/enums') diff --git a/tests/enums b/tests/enums index 43afe3d..476c478 100644 --- a/tests/enums +++ b/tests/enums @@ -16,7 +16,7 @@ for cat in $(getnamelist CAT); do continue fi check_enum_good ${cat}_SUBCAT - grep -i "enum.libsyscalls_${cat}_syscall_subcategory"'\s\+'"$cat"\\b < libsyscalls.h >/dev/null + grep -i "enum.libsyscalls_${cat}_syscall_subcategory"'[[:space:]]\{1,\}'"$cat"'\([^A-Za-z0-9_]\|$\)' < libsyscalls.h >/dev/null done check_enum_good SIGN check_enum_good ANNOTATION -- cgit v1.2.3-70-g09d2