summaryrefslogtreecommitdiff
path: root/unit-tests/sh-leading-at.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/sh-leading-at.mk')
-rw-r--r--unit-tests/sh-leading-at.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/unit-tests/sh-leading-at.mk b/unit-tests/sh-leading-at.mk
index 19a6e59e4e6a..9f98005ec088 100644
--- a/unit-tests/sh-leading-at.mk
+++ b/unit-tests/sh-leading-at.mk
@@ -1,10 +1,18 @@
-# $NetBSD: sh-leading-at.mk,v 1.3 2020/08/22 09:16:08 rillig Exp $
+# $NetBSD: sh-leading-at.mk,v 1.5 2020/11/15 20:20:58 rillig Exp $
#
# Tests for shell commands preceded by an '@', to suppress printing
# the command to stdout.
+#
+# See also:
+# .SILENT
+# depsrc-silent.mk
+# opt-silent.mk
all:
@
@echo 'ok'
@ echo 'space after @'
echo 'echoed'
+ # The leading '@' can be repeated.
+ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ @@@echo '3'