1146449Sharti# 2146449Sharti# Test that we can replace the shell and set all the shell parameters 3146449Sharti# (except meta and builtin which have their own test). This is done by 4146449Sharti# using a shell script for the shell that echoes all command line 5146449Sharti# arguments and its standard input. The shell name should not be one of 6146449Sharti# the builtin shells. 7146449Sharti# 8146449Sharti# XXX There seems to be a problem here in -j1 mode: for the line without 9146449Sharti# @- make should switch on echoing again, but it doesn't. 10146449Sharti# 11146449Sharti# $FreeBSD: releng/10.3/usr.bin/bmake/tests/shell/replace/Makefile.test 263346 2014-03-19 12:29:20Z jmmv $ 12146449Sharti 13146822Sharti.SHELL: name="shell" path="${.CURDIR}/shell" \ 14146449Sharti quiet="be quiet" echo="be verbose" filter="be verbose" \ 15146449Sharti echoFlag="x" errFlag="y" \ 16146449Sharti hasErrCtl=y check="check errors" ignore="ignore errors" 17146449Sharti 18146449Sharti.PHONY: test1 19146449Shartitest1: 20146449Sharti -@funny $$ 21146449Sharti funnier $$ 22