Skip to content

Commit

Permalink
tests/make: fix canonicalization for single-digit day of month
Browse files Browse the repository at this point in the history
  • Loading branch information
rillig committed Aug 25, 2022
1 parent 87128e1 commit e8c2a6b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions usr.bin/make/unit-tests/Makefile
@@ -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)
#
Expand Down Expand Up @@ -621,8 +621,10 @@ STD_SED_CMDS.shell+= -e 's,^${.SHELL:T}: ,,'
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.

Expand Down

0 comments on commit e8c2a6b

Please sign in to comment.