mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
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'.
19 lines
251 B
Bash
19 lines
251 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
|
|
cd `dirname $0`
|
|
. ../../common.sh
|
|
|
|
# Description
|
|
DESC="Check that a command line with a builtin is passed to the shell."
|
|
|
|
# Setup
|
|
TEST_COPY_FILES="sh 755"
|
|
|
|
# Run
|
|
TEST_N=2
|
|
TEST_1="-B no-builtin"
|
|
TEST_2="-B builtin"
|
|
|
|
eval_cmd $*
|