diff options
Diffstat (limited to 'contrib/bmake/unit-tests/sh-leading-plus.mk')
-rw-r--r-- | contrib/bmake/unit-tests/sh-leading-plus.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/bmake/unit-tests/sh-leading-plus.mk b/contrib/bmake/unit-tests/sh-leading-plus.mk new file mode 100644 index 000000000000..ff57b4a38a7d --- /dev/null +++ b/contrib/bmake/unit-tests/sh-leading-plus.mk @@ -0,0 +1,10 @@ +# $NetBSD: sh-leading-plus.mk,v 1.4 2020/11/09 20:50:56 rillig Exp $ +# +# Tests for shell commands preceded by a '+', to run them even if +# the command line option -n is given. + +.MAKEFLAGS: -n + +all: + @echo 'this command is not run' + @+echo 'this command is run' |