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 make(1): fix commit number in tests ...
details: https://anonhg.NetBSD.org/src/rev/ab4e3c4e294e
branches: trunk
changeset: 948239:ab4e3c4e294e
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Dec 22 07:22:39 2020 +0000
description:
make(1): fix commit number in tests for :gmtime and :localtime
diffstat:
usr.bin/make/unit-tests/varmod-gmtime.mk | 6 +++---
usr.bin/make/unit-tests/varmod-localtime.mk | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (52 lines):
diff -r c3359011e628 -r ab4e3c4e294e usr.bin/make/unit-tests/varmod-gmtime.mk
--- a/usr.bin/make/unit-tests/varmod-gmtime.mk Tue Dec 22 07:16:23 2020 +0000
+++ b/usr.bin/make/unit-tests/varmod-gmtime.mk Tue Dec 22 07:22:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: varmod-gmtime.mk,v 1.8 2020/12/21 20:47:29 rillig Exp $
+# $NetBSD: varmod-gmtime.mk,v 1.9 2020/12/22 07:22:39 rillig Exp $
#
# Tests for the :gmtime variable modifier, which formats a timestamp
# using strftime(3) in UTC.
@@ -114,14 +114,14 @@
# ULONG_MAX, which got converted to -1. This resulted in a time stamp of
# the second before 1970.
#
-# Since var.c 1.613, the overflow is detected and produces a parse error.
+# Since var.c 1.631, the overflow is detected and produces a parse error.
.if ${:L:gmtime=10000000000000000000000000000000} != ""
. error
.else
. error
.endif
-# Before var.c 1.613 from 2020-10-31, there was no error handling while
+# Before var.c 1.631 from 2020-10-31, there was no error handling while
# parsing the :gmtime modifier, thus no error message is printed. Parsing
# stopped after the '=', and the remaining string was parsed for more variable
# modifiers. Because of the unknown modifier 'e' from the 'error', the whole
diff -r c3359011e628 -r ab4e3c4e294e usr.bin/make/unit-tests/varmod-localtime.mk
--- a/usr.bin/make/unit-tests/varmod-localtime.mk Tue Dec 22 07:16:23 2020 +0000
+++ b/usr.bin/make/unit-tests/varmod-localtime.mk Tue Dec 22 07:22:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: varmod-localtime.mk,v 1.6 2020/12/21 20:47:29 rillig Exp $
+# $NetBSD: varmod-localtime.mk,v 1.7 2020/12/22 07:22:39 rillig Exp $
#
# Tests for the :localtime variable modifier, which formats a timestamp
# using strftime(3) in local time.
@@ -114,14 +114,14 @@
# ULONG_MAX, which got converted to -1. This resulted in a time stamp of
# the second before 1970.
#
-# Since var.c 1.613, the overflow is detected and produces a parse error.
+# Since var.c 1.631, the overflow is detected and produces a parse error.
.if ${:L:localtime=10000000000000000000000000000000} != ""
. error
.else
. error
.endif
-# Before var.c 1.613 from 2020-10-31, there was no error handling while
+# Before var.c 1.631 from 2020-10-31, there was no error handling while
# parsing the :localtime modifier, thus no error message is printed. Parsing
# stopped after the '=', and the remaining string was parsed for more variable
# modifiers. Because of the unknown modifier 'e' from the 'error', the whole
Home |
Main Index |
Thread Index |
Old Index