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