xref: /freebsd/usr.bin/bmake/tests/shell/path_select/Makefile.test (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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#
11
12.ifmake sh_test
13
14.SHELL: name=sh path=${.CURDIR}/shell
15sh_test:
16	@: This is the shell.
17
18.elifmake csh_test
19
20.SHELL: name=csh path=${.CURDIR}/shell
21csh_test:
22	@: This is the C-shell.
23
24.elifmake ksh_test
25
26.SHELL: name=ksh path=${.CURDIR}/shell
27ksh_test:
28	@: This is the Korn-shell.
29
30.endif
31