16541d27cSJuli Mallett# $FreeBSD$ 26541d27cSJuli Mallett 36541d27cSJuli MallettDATA1= helllo 46541d27cSJuli MallettDATA2:= ${DATA1} 56541d27cSJuli MallettDATA3= ${DATA2:S/ll/rr/g} 66541d27cSJuli MallettDATA4:= ${DATA2:S/ll/rr/g} 76541d27cSJuli MallettDATA2?= allo 86541d27cSJuli MallettDATA5:= ${DATA2:S/ll/ii/g} ${DATA1:S/ll/rr/g} 96541d27cSJuli MallettDATA2= yello 106541d27cSJuli MallettDATA1:= ${DATA5:S/l/r/g} 116541d27cSJuli Mallett 126541d27cSJuli Mallettall: 136541d27cSJuli Mallett @echo "Running test variables" 146541d27cSJuli Mallett @echo 1:${DATA1} 2:${DATA2} 3:${DATA3} 4:${DATA4} 5:${DATA5} | \ 156541d27cSJuli Mallett diff -u ${.CURDIR}/regress.variables.out - || ${MAKE} failure 166541d27cSJuli Mallett @echo "Test variables detected no regression, output matches." 176541d27cSJuli Mallett 186541d27cSJuli Mallettfailure: 196541d27cSJuli Mallett @echo "Test failed: regression detected. See above." 206541d27cSJuli Mallett @false 21