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:
jmallett 2002-07-28 03:57:08 +00:00
parent a22e9df072
commit 1e37932579
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