Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make/unit-tests tests/make: fix canonicalization for...
details: https://anonhg.NetBSD.org/src/rev/5d477734a90f
branches: trunk
changeset: 369633:5d477734a90f
user: rillig <rillig%NetBSD.org@localhost>
date: Thu Aug 25 06:23:38 2022 +0000
description:
tests/make: fix canonicalization for single-digit day of month
diffstat:
usr.bin/make/unit-tests/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 1e14aa7f2579 -r 5d477734a90f usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile Thu Aug 25 01:58:48 2022 +0000
+++ b/usr.bin/make/unit-tests/Makefile Thu Aug 25 06:23:38 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.320 2022/08/24 22:09:41 rillig Exp $
+# $NetBSD: Makefile,v 1.321 2022/08/25 06:23:38 rillig Exp $
#
# Unit tests for make(1)
#
@@ -621,8 +621,10 @@
STD_SED_CMDS.regex= \
-e 's,\(Regex compilation error:\).*,\1 (details omitted),'
+# Normalize timestamps from ':gmtime' or ':localtime' to '<timestamp>'.
+# See STD_SED_CMDS.dg2 for timestamps from the debug log.
STD_SED_CMDS.timestamp= \
- -e 's,[A-Z][a-z][a-z] [A-Z][a-z][a-z] [0-9][0-9]* [0-9][0-9]*:[0-9][0-9]:[0-9][0-9] 20[0-9][0-9],<timestamp>,'
+ -e 's,[A-Z][a-z][a-z] [A-Z][a-z][a-z] [ 0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [12][0-9][0-9][0-9],<timestamp>,'
# End of the configuration helpers section.
Home |
Main Index |
Thread Index |
Old Index