Makefile.test revision 266074
1139778Simp# 2131899Smarcel# Change the path for builtin shells. There are two methods to do this. 3131899Smarcel# This is the second of them when both a path and a name are specified. 4131899Smarcel# This selects a builtin shell according to the name, but executes it 5131899Smarcel# from the specified path. 6131899Smarcel# 7131899Smarcel# Be sure to include a meta-character into the command line, so that 8131899Smarcel# really our shell is executed. 9131899Smarcel# 10131899Smarcel# $FreeBSD: head/usr.bin/bmake/tests/shell/path_select/Makefile.test 263346 2014-03-19 12:29:20Z jmmv $ 11131899Smarcel# 12131899Smarcel 13131899Smarcel.ifmake sh_test 14131899Smarcel 15131899Smarcel.SHELL: name=sh path=${.CURDIR}/shell 16131899Smarcelsh_test: 17131899Smarcel @: This is the shell. 18131899Smarcel 19131899Smarcel.elifmake csh_test 20131899Smarcel 21131899Smarcel.SHELL: name=csh path=${.CURDIR}/shell 22131899Smarcelcsh_test: 23131899Smarcel @: This is the C-shell. 24131899Smarcel 25131899Smarcel.elifmake ksh_test 26131899Smarcel 27131899Smarcel.SHELL: name=ksh path=${.CURDIR}/shell 28131899Smarcelksh_test: 29131899Smarcel @: This is the Korn-shell. 30131899Smarcel 31131899Smarcel.endif 32131899Smarcel