]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/bmake/unit-tests/export
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / contrib / bmake / unit-tests / export
1 # $Id: export,v 1.1.1.1 2007/10/08 20:30:12 sjg Exp $
2
3 UT_TEST=export
4 UT_FOO=foo${BAR}
5 UT_FU=fubar
6 UT_ZOO=hoopie
7 UT_NO=all
8 # belive it or not, we expect this one to come out with $UT_FU unexpanded.
9 UT_DOLLAR= This is $$UT_FU
10
11 .export UT_FU UT_FOO
12 .export UT_DOLLAR
13 # this one will be ignored
14 .export .MAKE.PID
15
16 BAR=bar is ${UT_FU}
17
18 .MAKE.EXPORTED+= UT_ZOO UT_TEST
19
20 all:
21         @env | grep '^UT_' | sort
22