Current Path : /usr/src/tools/regression/usr.bin/make/shell/select/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/tools/regression/usr.bin/make/shell/select/Makefile |
# # We just select the builtin shells and check whether it is really # executed. This should print just the shell paths. Because we # normally don't have a ksh, we make this test conditional. This means # one has to recreate the test results once ksh is installed. # # $FreeBSD: release/9.1.0/tools/regression/usr.bin/make/shell/select/Makefile 146822 2005-05-31 14:13:07Z harti $ # .ifmake sh_test .SHELL: name=sh sh_test: print_path .elifmake csh_test .SHELL: name=csh csh_test: print_path .elifmake ksh_test .SHELL: name=ksh ksh_test: print_path .endif print_path: @ps -opid,command | awk '$$1=='$$$$' { print $$2; }'