As of revision 1.38 of make/parse.c, our make(1) will warn too. Note that

this isn't just for the sake of testing behaviour, and that things really
do break if this regression occurs.
This commit is contained in:
Juli Mallett 2002-07-28 03:57:08 +00:00
parent af13e3abb9
commit 89d22e2f06
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100794
2 changed files with 6 additions and 4 deletions

View File

@ -33,8 +33,9 @@ all:
@! ${MAKE} lhs_expn && true || ${MAKE} failure
@echo "PASS: Test lhs_expn detected no regression."
# Doubly-defined targets. NetBSD make(1) will warn, ours will silently use the
# ``right'' one.
# Doubly-defined targets. make(1) will warn, but use the "right" one. If it
# switches to using the "non-right" one, it breaks things worse than a little
# regression test.
double:
@true

View File

@ -33,8 +33,9 @@ all:
@! ${MAKE} lhs_expn && true || ${MAKE} failure
@echo "PASS: Test lhs_expn detected no regression."
# Doubly-defined targets. NetBSD make(1) will warn, ours will silently use the
# ``right'' one.
# Doubly-defined targets. make(1) will warn, but use the "right" one. If it
# switches to using the "non-right" one, it breaks things worse than a little
# regression test.
double:
@true