1# $NetBSD: varmod-to-lower.mk,v 1.6 2022/11/29 23:54:55 rillig Exp $ 2# 3# Tests for the :tl variable modifier, which converts the expression value 4# to lowercase. 5# 6# TODO: What about non-ASCII characters? ISO-8859-1, UTF-8? 7 8.if ${:UUPPER:tl} != "upper" 9. error 10.endif 11 12.if ${:Ulower:tl} != "lower" 13. error 14.endif 15 16.if ${:UMixeD case.:tl} != "mixed case." 17. error 18.endif 19 20# The ':tl' modifier works on the whole string, without splitting it into 21# words. 22.if ${:Umultiple spaces:tl} != "multiple spaces" 23. error 24.endif 25 26all: .PHONY 27