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: releng/10.3/usr.bin/bmake/tests/shell/replace/Makefile.test 263346 2014-03-19 12:29:20Z jmmv $ 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