]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/sh-leading-at.mk
Merge bmake-20201117
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / sh-leading-at.mk
1 # $NetBSD: sh-leading-at.mk,v 1.5 2020/11/15 20:20:58 rillig Exp $
2 #
3 # Tests for shell commands preceded by an '@', to suppress printing
4 # the command to stdout.
5 #
6 # See also:
7 #       .SILENT
8 #       depsrc-silent.mk
9 #       opt-silent.mk
10
11 all:
12         @
13         @echo 'ok'
14         @ echo 'space after @'
15         echo 'echoed'
16         # The leading '@' can be repeated.
17         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
18         @@@echo '3'