Fixes automake bug https://bugs.gnu.org/32800.
Have the regex match the entire path with word boundaries on both
sides. This should reduce false positives when the full cwd happens
to match parent directories.
* t/silent-custom.sh: Update the header output regex.
$FGREP 'cp ' output && exit 1
$FGREP 'generate-header' output && exit 1
$FGREP 'rm -f' output && exit 1
- grep '[012]\.h' output && exit 1
+ grep '\bsub/[012]\.h\b' output && exit 1
grep '^ XGEN foo$' output
grep '^ GEN \[headers\]$' output
else