tests: loosen/tighten the always_defined_macros check
authorJim Meyering <meyering@redhat.com>
Sun, 9 May 2010 16:29:22 +0000 (18:29 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 9 May 2010 16:29:22 +0000 (18:29 +0200)
commit6ac165922c9874246034352ee87b1e40ccfec11c
treeed08b9641fe72148443a4bd24b0fabcb30f26633
parentcab21195422804046a7f2b18de2282a46a2e8f39
tests: loosen/tighten the always_defined_macros check

* cfg.mk (.re-defmac): Generate better regexps: allow white space
before the '#', and append a word-boundary requirement.
Without the latter, #define NULL_DEV ... would evoke a false-positive.
cfg.mk