summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/func-refs.mk
blob: 82ab17ba8957d146a68ebbaaf2baa2e2d12215da (plain)
1
2
3
4
5
6
7
8
9
10
11
unknown var = uval

all:
	test "$(subst a,b,value)" = "vblue"
	test "${subst a,b,va)lue}" = "vb)lue"
	test "$(subst /,\,ab/c)" = "ab\c"
	test '$(subst a,b,\\#)' = '\\#'
	test "$( subst a,b,value)" = ""
	test "$(Subst a,b,value)" = ""
	test "$(unknown var)" = "uval"
	@echo TEST-PASS