Add inline test related to unsupported algorithms

This commit is contained in:
Matthijs Mekking
2019-01-14 16:02:30 +01:00
parent dfcf9bb0ed
commit 924fdad0e5
4 changed files with 20 additions and 0 deletions

View File

@@ -27,6 +27,13 @@ do
sleep 1
done
n=`expr $n + 1`
echo_i "checking that an unsupported algorithm is not used for signing ($n)"
ret=0
grep -q "algorithm is unsupported" ns3/named.run || ret=1
if [ $ret != 0 ]; then echo_i "failed"; fi
status=`expr $status + $ret`
n=`expr $n + 1`
echo_i "checking that rrsigs are replaced with ksk only ($n)"
ret=0