opnsense-src/tools/regression/usr.bin/make/shell/path_select/Makefile
Hartmut Brandt d9ea463fbf Change the test infrastructure so that tests are easier to maintain and
so that make(1) will run in an almost clean environment and enhance the
description of the test infrastructure.

Add the ability to have multiple tests carried out per test script.

Give some tests more meaningful names.

Fix the usage message from the test scripts.

Make it possible to pass several commands to the test scripts like:
'sh test.t setup run compare clean'.
2005-05-31 14:13:07 +00:00

31 lines
651 B
Makefile

#
# Change the path for builtin shells. There are two methods to do this.
# This is the second of them when both a path and a name are specified.
# This selects a builtin shell according to the name, but executes it
# from the specified path.
#
# Be sure to include a meta-character into the command line, so that
# really our shell is executed.
#
# $FreeBSD$
#
.ifmake sh_test
.SHELL: name=sh path=${.CURDIR}/shell
sh_test:
@: This is the shell.
.elifmake csh_test
.SHELL: name=csh path=${.CURDIR}/shell
csh_test:
@: This is the C-shell.
.elifmake ksh_test
.SHELL: name=ksh path=${.CURDIR}/shell
ksh_test:
@: This is the Korn-shell.
.endif