xref: /freebsd/contrib/bmake/unit-tests/directive-unexport-env.mk (revision 06b9b3e0ad0dc3f0166b3e8f26ced68c271cf527)
1*06b9b3e0SSimon J. Gerraty# $NetBSD: directive-unexport-env.mk,v 1.7 2020/12/12 18:11:42 rillig Exp $
22c3632d1SSimon J. Gerraty#
32c3632d1SSimon J. Gerraty# Tests for the .unexport-env directive.
4*06b9b3e0SSimon J. Gerraty#
5*06b9b3e0SSimon J. Gerraty# Before 2020-12-13, the directive unexport-env wrongly accepted arguments
6*06b9b3e0SSimon J. Gerraty# and ignored them.
7*06b9b3e0SSimon J. Gerraty#
8*06b9b3e0SSimon J. Gerraty# Before 2020-12-13, misspelled directive names like "unexport-environment"
9*06b9b3e0SSimon J. Gerraty# were not properly detected.
102c3632d1SSimon J. Gerraty
112c3632d1SSimon J. Gerraty# TODO: Implementation
122c3632d1SSimon J. Gerraty
13*06b9b3e0SSimon J. Gerraty.unexport-en			# misspelled
14e2eeea75SSimon J. Gerraty.unexport-env			# ok
15*06b9b3e0SSimon J. Gerraty.unexport-environment		# misspelled
16*06b9b3e0SSimon J. Gerraty
17*06b9b3e0SSimon J. Gerraty.MAKEFLAGS: -dv
18*06b9b3e0SSimon J. GerratyUT_EXPORTED=	value
19*06b9b3e0SSimon J. GerratyUT_UNEXPORTED=	value
20*06b9b3e0SSimon J. Gerraty.export UT_EXPORTED
21*06b9b3e0SSimon J. Gerraty.unexport-env UT_EXPORTED UT_UNEXPORTED
22*06b9b3e0SSimon J. Gerraty.MAKEFLAGS: -d0
23e2eeea75SSimon J. Gerraty
242c3632d1SSimon J. Gerratyall:
252c3632d1SSimon J. Gerraty	@:;
26