Makefile.test revision 146822
1146381Sharti# 2146381Sharti# We just select the builtin shells and check whether it is really 3146381Sharti# executed. This should print just the shell paths. Because we 4146381Sharti# normally don't have a ksh, we make this test conditional. This means 5146381Sharti# one has to recreate the test results once ksh is installed. 6146381Sharti# 7146381Sharti# $FreeBSD: head/tools/regression/usr.bin/make/shell/select/Makefile 146822 2005-05-31 14:13:07Z harti $ 8146381Sharti# 9146381Sharti 10146822Sharti.ifmake sh_test 11146381Sharti 12146381Sharti.SHELL: name=sh 13146822Shartish_test: print_path 14146381Sharti 15146822Sharti.elifmake csh_test 16146381Sharti 17146381Sharti.SHELL: name=csh 18146822Sharticsh_test: print_path 19146381Sharti 20146822Sharti.elifmake ksh_test 21146381Sharti 22146381Sharti.SHELL: name=ksh 23146822Shartiksh_test: print_path 24146381Sharti 25146381Sharti.endif 26146381Sharti 27146381Shartiprint_path: 28146381Sharti @ps -opid,command | awk '$$1=='$$$$' { print $$2; }' 29