diff --git a/usr.bin/make/unit-tests/jobs-error-nested-make.exp b/usr.bin/make/unit-tests/jobs-error-nested-make.exp index 6e50ab37665a..f926511dd943 100644 --- a/usr.bin/make/unit-tests/jobs-error-nested-make.exp +++ b/usr.bin/make/unit-tests/jobs-error-nested-make.exp @@ -1,3 +1,9 @@ make -f jobs-error-nested-make.mk nested false +*** [nested] Error code 1 + +make: stopped in unit-tests +1 error + +make: stopped in unit-tests exit status 2 diff --git a/usr.bin/make/unit-tests/jobs-error-nested-make.mk b/usr.bin/make/unit-tests/jobs-error-nested-make.mk index 72010d988f0a..8cccf7df6a52 100644 --- a/usr.bin/make/unit-tests/jobs-error-nested-make.mk +++ b/usr.bin/make/unit-tests/jobs-error-nested-make.mk @@ -1,4 +1,4 @@ -# $NetBSD: jobs-error-nested-make.mk,v 1.1 2020/12/01 17:50:04 rillig Exp $ +# $NetBSD: jobs-error-nested-make.mk,v 1.2 2021/01/07 18:11:23 sjg Exp $ # # Ensure that in jobs mode, when a command fails, the current directory is # printed, to aid in debugging, even if the target is marked as .MAKE. @@ -16,5 +16,5 @@ all: .PHONY .MAKE ${MAKE} -f ${MAKEFILE} nested -nested: .PHONY .MAKE +nested: .PHONY false