1*148ee845SSimon J. Gerraty# $NetBSD: directive-unexport-env.mk,v 1.9 2023/06/01 20:56:35 rillig Exp $ 22c3632d1SSimon J. Gerraty# 32c3632d1SSimon J. Gerraty# Tests for the .unexport-env directive. 406b9b3e0SSimon J. Gerraty# 506b9b3e0SSimon J. Gerraty# Before 2020-12-13, the directive unexport-env wrongly accepted arguments 606b9b3e0SSimon J. Gerraty# and ignored them. 706b9b3e0SSimon J. Gerraty# 806b9b3e0SSimon J. Gerraty# Before 2020-12-13, misspelled directive names like "unexport-environment" 906b9b3e0SSimon J. Gerraty# were not properly detected. 102c3632d1SSimon J. Gerraty 112c3632d1SSimon J. Gerraty# TODO: Implementation 122c3632d1SSimon J. Gerraty 13*148ee845SSimon J. Gerraty# expect+1: Unknown directive "unexport-en" 1406b9b3e0SSimon J. Gerraty.unexport-en # misspelled 15e2eeea75SSimon J. Gerraty.unexport-env # ok 16*148ee845SSimon J. Gerraty# expect+1: Unknown directive "unexport-environment" 1706b9b3e0SSimon J. Gerraty.unexport-environment # misspelled 1806b9b3e0SSimon J. Gerraty 1906b9b3e0SSimon J. Gerraty.MAKEFLAGS: -dv 2006b9b3e0SSimon J. GerratyUT_EXPORTED= value 2106b9b3e0SSimon J. GerratyUT_UNEXPORTED= value 2206b9b3e0SSimon J. Gerraty.export UT_EXPORTED 23*148ee845SSimon J. Gerraty# expect+1: The directive .unexport-env does not take arguments 2406b9b3e0SSimon J. Gerraty.unexport-env UT_EXPORTED UT_UNEXPORTED 2506b9b3e0SSimon J. Gerraty.MAKEFLAGS: -d0 26e2eeea75SSimon J. Gerraty 279f45a3c8SSimon J. Gerratyall: .PHONY 28