diff options
author | Paul Smith <psmith@gnu.org> | 2002-09-10 22:39:18 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-09-10 22:39:18 +0000 |
commit | 5df75e726567954acd8cec5fb247a6124fa8a9e0 (patch) | |
tree | 24131d6887a005a0c66ac62ecb15fafaeacda366 | |
parent | bc91c0b23f27cc80dda01c7494906523754dc650 (diff) | |
download | gunmake-5df75e726567954acd8cec5fb247a6124fa8a9e0.tar.gz |
Fix regex matching for modification time warnings.
The ones we had were weird, and failed for multiple warnings in a
single file.
-rw-r--r-- | tests/test_driver.pl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_driver.pl b/tests/test_driver.pl index a3d4d4e..0130605 100644 --- a/tests/test_driver.pl +++ b/tests/test_driver.pl @@ -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) { |