mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-27 01:27:58 +00:00
Fix regex matching for modification time warnings.
The ones we had were weird, and failed for multiple warnings in a single file.
This commit is contained in:
parent
bc91c0b23f
commit
5df75e7265
1 changed files with 2 additions and 4 deletions
|
@ -588,10 +588,8 @@ sub compare_output
|
|||
|
||||
# For make, get rid of any time skew error before comparing--too bad this
|
||||
# has to go into the "generic" driver code :-/
|
||||
$slurp =~ s/^.*modification time .*in the future.*\n//g;
|
||||
$slurp =~ s/\n.*modification time .*in the future.*//g;
|
||||
$slurp =~ s/^.*Clock skew detected.*\n//g;
|
||||
$slurp =~ s/\n.*Clock skew detected.*//g;
|
||||
$slurp =~ s/^.*modification time .*in the future.*\n//gm;
|
||||
$slurp =~ s/^.*Clock skew detected.*\n//gm;
|
||||
|
||||
if ($slurp eq $answer)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue