opnsense-src/tools/regression/usr.bin/make/shell/path/test.t
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

22 lines
284 B
Bash

#!/bin/sh
# $FreeBSD$
cd `dirname $0`
. ../../common.sh
# Description
DESC="New path for builtin shells."
# Setup
TEST_COPY_FILES="sh 755"
TEST_LINKS="sh csh sh ksh"
# Run
TEST_N=3
TEST_1="sh_test"
TEST_2="csh_test"
TEST_3="ksh_test"
TEST_3_SKIP="no ksh on FreeBSD"
eval_cmd $*