head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2013.03.23.23.59.17;	author dholland;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Merge -r1.36 of unit-tests/Makefile, -r1.1 of unit-tests/export-env, and
-r1.42 of unit-tests/test.exp from HEAD (committed by sjg):

Add unit-test for export-env and gmake export
@
text
@# $Id: export-env,v 1.1 2013/03/22 16:36:46 sjg Exp $

# our normal .export, subsequent changes affect the environment
UT_TEST=this
.export UT_TEST
UT_TEST:= ${.PARSEFILE}

# not so with .export-env
UT_ENV=exported
.export-env UT_ENV
UT_ENV=not-exported

# gmake style export goes further; affects nothing but the environment
UT_EXP=before-export
export UT_EXP=exported
UT_EXP=not-exported

all:
	@@echo make:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=${$v};@@}
	@@echo env:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=$${$v};@@}




@
