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 comment in test for dir...



details:   https://anonhg.NetBSD.org/src/rev/da236d64a844
branches:  trunk
changeset: 957671:da236d64a844
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Dec 06 17:29:27 2020 +0000

description:
make(1): fix comment in test for directive unexport-env

diffstat:

 usr.bin/make/unit-tests/directive-unexport-env.mk |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r 159acb97fe2a -r da236d64a844 usr.bin/make/unit-tests/directive-unexport-env.mk
--- a/usr.bin/make/unit-tests/directive-unexport-env.mk Sun Dec 06 17:27:10 2020 +0000
+++ b/usr.bin/make/unit-tests/directive-unexport-env.mk Sun Dec 06 17:29:27 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: directive-unexport-env.mk,v 1.4 2020/12/06 16:06:11 rillig Exp $
+# $NetBSD: directive-unexport-env.mk,v 1.5 2020/12/06 17:29:27 rillig Exp $
 #
 # Tests for the .unexport-env directive.
 
@@ -8,11 +8,8 @@
 .unexport-env                  # ok
 .unexport-environment          # oops: misspelled
 
-# Before 2020-12-06, the directive unexport-env was implemented strangely.
-# According to its documentation, it does not take any arguments, but the
-# Implementation accepted variable names as arguments and produced wrong debug
-# logging for them, saying "Unexporting" for variables that at this point were
-# not exported anymore.
+# As of 2020-12-06, the directive unexport-env is not supposed to accept
+# arguments, but it does without complaining about them.
 .MAKEFLAGS: -dv
 UT_EXPORTED=   value
 UT_UNEXPORTED= value



Home | Main Index | Thread Index | Old Index