You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
243 B
22 lines
243 B
17 years ago
|
# Common functions for shell testcases
|
||
|
|
||
|
PASS () {
|
||
|
echo "PASS"
|
||
|
exit 0
|
||
|
}
|
||
|
|
||
|
FAIL () {
|
||
|
echo "FAIL" "$@"
|
||
|
exit 2
|
||
|
}
|
||
|
|
||
|
DTC=../dtc
|
||
|
|
||
|
verbose_run () {
|
||
|
if [ -z "$QUIET_TEST" ]; then
|
||
|
"$@"
|
||
|
else
|
||
|
"$@" > /dev/null 2> /dev/null
|
||
|
fi
|
||
|
}
|