mirror of
https://github.com/opnsense/src.git
synced 2026-02-17 17:49:34 -05:00
Note that these tests are for fmake, not bmake, and thus they are not installed nor run when bmake is selected (the default). Yes, I have wasted a *ton* of time on moving tests for no real reason other than ensuring they are not left behind. But maybe, just maybe, it was not work in vain: the majority of these tests also work with bmake and the few that don't may point at broken stuff. For example, the tests for the "archive" feature do not work with bmake, but bmake's manpage and source tree seem to imply that they should. So... to be investigated later; need to poke sjg@.
28 lines
531 B
Makefile
28 lines
531 B
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$
|
|
#
|
|
|
|
.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 -x -opid,command | awk '$$1=='$$$$' { print $$2; }'
|