1146381Sharti#
2146381Sharti# Change the path for builtin shells. There are two methods to do this.
3146381Sharti# This is the second of them when both a path and a name are specified.
4146381Sharti# This selects a builtin shell according to the name, but executes it
5146381Sharti# from the specified path.
6146381Sharti#
7146381Sharti# Be sure to include a meta-character into the command line, so that
8146381Sharti# really our shell is executed.
9146381Sharti#
10146381Sharti# $FreeBSD: releng/10.3/usr.bin/bmake/tests/shell/path_select/Makefile.test 263346 2014-03-19 12:29:20Z jmmv $
11146381Sharti#
12146381Sharti
13146381Sharti.ifmake sh_test
14146381Sharti
15146822Sharti.SHELL: name=sh path=${.CURDIR}/shell
16146381Shartish_test:
17146381Sharti	@: This is the shell.
18146381Sharti
19146381Sharti.elifmake csh_test
20146381Sharti
21146822Sharti.SHELL: name=csh path=${.CURDIR}/shell
22146381Sharticsh_test:
23146381Sharti	@: This is the C-shell.
24146381Sharti
25146381Sharti.elifmake ksh_test
26146381Sharti
27146822Sharti.SHELL: name=ksh path=${.CURDIR}/shell
28146381Shartiksh_test:
29146381Sharti	@: This is the Korn-shell.
30146381Sharti
31146381Sharti.endif
32