xref: /freebsd/usr.bin/bmake/tests/shell/path_select/Makefile.test (revision b0d29bc47dba79f6f38e67eabadfb4b32ffd9390)
1#
2# Change the path for builtin shells. There are two methods to do this.
3# This is the second of them when both a path and a name are specified.
4# This selects a builtin shell according to the name, but executes it
5# from the specified path.
6#
7# Be sure to include a meta-character into the command line, so that
8# really our shell is executed.
9#
10# $FreeBSD$
11#
12
13.ifmake sh_test
14
15.SHELL: name=sh path=${.CURDIR}/shell
16sh_test:
17	@: This is the shell.
18
19.elifmake csh_test
20
21.SHELL: name=csh path=${.CURDIR}/shell
22csh_test:
23	@: This is the C-shell.
24
25.elifmake ksh_test
26
27.SHELL: name=ksh path=${.CURDIR}/shell
28ksh_test:
29	@: This is the Korn-shell.
30
31.endif
32