tests.sh revision 177be355d4ccf0ce6308e3e6c0f5404eaf13e9a0
# tests for TSIG-GSS updates
status=0
DIGOPTS="@10.53.0.1 -p 5300"
host="$1"
type="$2"
cmd="$3"
digout="$4"
should_fail="$5"
cat <<EOF > ns1/update.txt
server 10.53.0.1 5300
update add $host $cmd
send
EOF
return 1
}
return 1
}
return 0
}
ret=0
echo "I:testing passing client info into DLZ driver"
ret=0
ret=0
echo "I:testing DLZ driver is cleaned up on reload"
ret=0
done
ret=0
echo "I:testing multiple DLZ drivers"
ret=0
echo "I:testing AXFR from DLZ drivers"
n=`cat dig.out.ns1.1 | wc -l`
n=`cat dig.out.ns1.2 | wc -l`
ret=0
echo "I:testing unsearched/unregistered DLZ zone is not found"
ret=0
echo "I:testing unsearched/registered DLZ zone is found"
ret=0
echo "I:testing unsearched/registered DLZ zone is found"
ret=0
echo "I:testing correct behavior with findzone returning ISC_R_NOMORE"
# we should only find one logged lookup per searched DLZ database
exit $status