]>
git.ipfire.org Git - thirdparty/dhcp.git/blob - keama/tests/checkone.sh
6 echo "usage: $0 test-name" >&2
10 if [ x
$KEA4 = x
]; then
11 echo "KEA4 is not set" >&2
13 if [ x
$KEA6 = x
]; then
14 echo "KEA6 is not set" >&2
21 isout
=$
(expr $file : ".*\.out")
22 if [ $isout -eq 0 ]; then
27 if [ ! -f $full ]; then
28 echo "can't find $file" >&2
32 is4
=$
(expr $file : ".*4")
33 is6
=$
(expr $file : ".*6")
34 if [ \
( $is4 -eq 0 \
) -a \
( $is6 -eq 0 \
) ]; then
35 echo "can't get version from $file" >&2
39 base
=$
(basename $full .out
)
41 if [ $is4 -ne 0 ]; then
42 $KEA4 -t $full >& $log
44 echo "$full raised an error" >&2
48 if [ $is6 -ne 0 ]; then
49 $KEA6 -t $full >& $log
51 echo "$full raised an error" >&2