aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/sh-leading-plus.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/sh-leading-plus.mk')
-rw-r--r--unit-tests/sh-leading-plus.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/unit-tests/sh-leading-plus.mk b/unit-tests/sh-leading-plus.mk
new file mode 100644
index 000000000000..75279d7d57fd
--- /dev/null
+++ b/unit-tests/sh-leading-plus.mk
@@ -0,0 +1,8 @@
+# $NetBSD: sh-leading-plus.mk,v 1.3 2020/08/23 14:46:33 rillig Exp $
+#
+# Tests for shell commands preceded by a '+', to run them even if
+# the command line option -n is given.
+
+all:
+ @echo 'this command is not run'
+ @+echo 'this command is run'