138136Sdfr# 238136Sdfr# Test that we can replace the shell and set all the shell parameters 338136Sdfr# (except meta and builtin which have their own test). This is done by 438136Sdfr# using a shell script for the shell that echoes all command line 538136Sdfr# arguments and its standard input. The shell name should not be one of 638136Sdfr# the builtin shells. 738136Sdfr# 838136Sdfr# XXX There seems to be a problem here in -j1 mode: for the line without 938136Sdfr# @- make should switch on echoing again, but it doesn't. 1038136Sdfr# 1138136Sdfr# $FreeBSD$ 1238136Sdfr 1338136Sdfr.SHELL: name="shell" path="${.CURDIR}/shell" \ 1438136Sdfr quiet="be quiet" echo="be verbose" filter="be verbose" \ 1538136Sdfr echoFlag="x" errFlag="y" \ 1638136Sdfr hasErrCtl=y check="check errors" ignore="ignore errors" 1738136Sdfr 1838136Sdfr.PHONY: test1 1938136Sdfrtest1: 2038136Sdfr -@funny $$ 2138136Sdfr funnier $$ 2238136Sdfr