[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: tests: make silent-custom regex
From: |
Mike Frysinger |
Subject: |
[automake-commit] branch master updated: tests: make silent-custom regex a little more robust |
Date: |
Thu, 24 Feb 2022 00:56:09 -0500 |
This is an automated email from the git hooks/post-receive script.
vapier pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=a61eaf68cf868e1874de168b1de5f2efcbb3cfb4
The following commit(s) were added to refs/heads/master by this push:
new a61eaf68c tests: make silent-custom regex a little more robust
a61eaf68c is described below
commit a61eaf68cf868e1874de168b1de5f2efcbb3cfb4
Author: Mike Frysinger <vapier@gentoo.org>
AuthorDate: Thu Feb 24 00:52:08 2022 -0500
tests: make silent-custom regex a little more robust
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.
---
t/silent-custom.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/silent-custom.sh b/t/silent-custom.sh
index 01cf464b9..977255b13 100644
--- a/t/silent-custom.sh
+++ b/t/silent-custom.sh
@@ -74,7 +74,7 @@ do_check ()
$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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: tests: make silent-custom regex a little more robust,
Mike Frysinger <=