1*5ae59decSJulio Merino# 2*5ae59decSJulio Merino# Test that we can replace the shell and set all the shell parameters 3*5ae59decSJulio Merino# (except meta and builtin which have their own test). This is done by 4*5ae59decSJulio Merino# using a shell script for the shell that echoes all command line 5*5ae59decSJulio Merino# arguments and its standard input. The shell name should not be one of 6*5ae59decSJulio Merino# the builtin shells. 7*5ae59decSJulio Merino# 8*5ae59decSJulio Merino# XXX There seems to be a problem here in -j1 mode: for the line without 9*5ae59decSJulio Merino# @- make should switch on echoing again, but it doesn't. 10*5ae59decSJulio Merino# 11*5ae59decSJulio Merino 12*5ae59decSJulio Merino.SHELL: name="shell" path="${.CURDIR}/shell" \ 13*5ae59decSJulio Merino quiet="be quiet" echo="be verbose" filter="be verbose" \ 14*5ae59decSJulio Merino echoFlag="x" errFlag="y" \ 15*5ae59decSJulio Merino hasErrCtl=y check="check errors" ignore="ignore errors" 16*5ae59decSJulio Merino 17*5ae59decSJulio Merino.PHONY: test1 18*5ae59decSJulio Merinotest1: 19*5ae59decSJulio Merino -@funny $$ 20*5ae59decSJulio Merino funnier $$ 21