Makefile.test revision 263346
150276Speter#
250276Speter# Change the path for builtin shells. There are two methods to do this.
3166124Srafan# This is the second of them when both a path and a name are specified.
450276Speter# This selects a builtin shell according to the name, but executes it
550276Speter# from the specified path.
650276Speter#
750276Speter# Be sure to include a meta-character into the command line, so that
850276Speter# really our shell is executed.
950276Speter#
1050276Speter# $FreeBSD: head/usr.bin/make/tests/shell/path_select/Makefile.test 263346 2014-03-19 12:29:20Z jmmv $
1150276Speter#
1250276Speter
1350276Speter.ifmake sh_test
1450276Speter
1550276Speter.SHELL: name=sh path=${.CURDIR}/shell
1650276Spetersh_test:
1750276Speter	@: This is the shell.
1850276Speter
1950276Speter.elifmake csh_test
2050276Speter
2150276Speter.SHELL: name=csh path=${.CURDIR}/shell
2250276Spetercsh_test:
2350276Speter	@: This is the C-shell.
2450276Speter
2550276Speter.elifmake ksh_test
2650276Speter
2750276Speter.SHELL: name=ksh path=${.CURDIR}/shell
2850276Speterksh_test:
2950276Speter	@: This is the Korn-shell.
30166124Srafan
3150276Speter.endif
3250276Speter