]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/bmake/unit-tests/unexport-env
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / contrib / bmake / unit-tests / unexport-env
1 # $Id: unexport-env,v 1.1.1.1 2009/11/19 00:31:11 sjg Exp $
2
3 # pick up a bunch of exported vars
4 .include "export"
5
6 # an example of setting up a minimal environment.
7 PATH = /bin:/usr/bin:/sbin:/usr/sbin
8
9 # now clobber the environment to just PATH and UT_TEST
10 UT_TEST = unexport-env
11
12 # this removes everything
13 .unexport-env
14 .export PATH UT_TEST