xref: /freebsd/usr.bin/bmake/tests/shell/replace/Makefile.test (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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# $FreeBSD$
12
13.SHELL: name="shell" path="${.CURDIR}/shell"			\
14	quiet="be quiet" echo="be verbose" filter="be verbose"	\
15	echoFlag="x" errFlag="y"				\
16	hasErrCtl=y check="check errors" ignore="ignore errors"
17
18.PHONY: test1
19test1:
20	-@funny $$
21	funnier $$
22