diff --git a/tests/scripts/check-names.sh b/tests/scripts/check-names.sh index 0234b84f7..2bf53c7dd 100755 --- a/tests/scripts/check-names.sh +++ b/tests/scripts/check-names.sh @@ -52,7 +52,7 @@ sort -u actual-macros enum-consts > _caps HEADERS=$( ls include/mbedtls/*.h | egrep -v 'compat-1\.3\.h' ) NL=' ' -sed -n 's/MBEDTLS_[A-Z0-9_]*/\'"$NL"'&\'"$NL"/gp \ +sed -n 's/MBED..._[A-Z0-9_]*/\'"$NL"'&\'"$NL"/gp \ $HEADERS library/*.c \ | grep MBEDTLS | sort -u > _MBEDTLS_XXX TYPOS=$( diff _caps _MBEDTLS_XXX | sed -n 's/^> //p' \