diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2013-04-01 14:07:52 +0000 |
---|---|---|
committer | <> | 2013-05-17 14:06:43 +0000 |
commit | 986bc2ac05bc4c08c6a0ed30c9e97674932ccfeb (patch) | |
tree | 8346daf16e98e93415195acbf99f09cb5326b73b /unit-tests/unexport-env | |
download | bmake-tarball-8d1ac348edb944f3af2e3b32db4eaa8fdf5b0e3a.tar.gz |
Diffstat (limited to 'unit-tests/unexport-env')
-rw-r--r-- | unit-tests/unexport-env | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/unit-tests/unexport-env b/unit-tests/unexport-env new file mode 100644 index 0000000..f6a2ff9 --- /dev/null +++ b/unit-tests/unexport-env @@ -0,0 +1,14 @@ +# $Id: unexport-env,v 1.1.1.1 2009/11/19 00:31:11 sjg Exp $ + +# pick up a bunch of exported vars +.include "export" + +# an example of setting up a minimal environment. +PATH = /bin:/usr/bin:/sbin:/usr/sbin + +# now clobber the environment to just PATH and UT_TEST +UT_TEST = unexport-env + +# this removes everything +.unexport-env +.export PATH UT_TEST |