]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/directive-export-literal.mk
Merge bmake-20201117
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / directive-export-literal.mk
1 # $NetBSD: directive-export-literal.mk,v 1.6 2020/11/03 17:17:31 rillig Exp $
2 #
3 # Tests for the .export-literal directive, which exports a variable value
4 # without expanding it.
5
6 UT_VAR=         value with ${UNEXPANDED} expression
7
8 .export-literal UT_VAR
9
10 .export-litera                  # oops: misspelled
11 .export-literal                 # oops: missing argument
12 .export-literally               # oops: misspelled
13
14 all:
15         @echo "$$UT_VAR"