mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 13:08:06 +00:00
add reproducer for [GL #585]
This commit is contained in:
parent
6ab40c043d
commit
0ac2a868bb
6
bin/tests/system/coverage/12-ksk-deletion/expect
Normal file
6
bin/tests/system/coverage/12-ksk-deletion/expect
Normal file
@ -0,0 +1,6 @@
|
||||
args=
|
||||
warn=1
|
||||
error=0
|
||||
ok=0
|
||||
retcode=0
|
||||
match=0
|
@ -127,3 +127,8 @@ $SETTIME -K $dir -I +18mo -D +2y $zsk1 > /dev/null 2>&1
|
||||
zsk2=`$KEYGEN -K $dir -S $zsk1`
|
||||
$SETTIME -K $dir -I +16mo $zsk1 > /dev/null 2>&1
|
||||
ksk1=`$KEYGEN -K $dir -a rsasha1 -3fk example.com`
|
||||
|
||||
# Test 12: Too early KSK deletion
|
||||
dir=12-ksk-deletion
|
||||
ksk1=`$KEYGEN -K $dir -f KSK -a 8 -b 2048 -I +40d -D +40d example.com`
|
||||
ksk2=`$KEYGEN -K $dir -S $ksk1.key example.com`
|
||||
|
@ -70,6 +70,12 @@ for dir in [0-9][0-9]-*; do
|
||||
ret=1
|
||||
fi
|
||||
|
||||
found=`grep Traceback coverage.$n | wc -l`
|
||||
if [ $found -ne 0 ]; then
|
||||
echo "python exception detected"
|
||||
ret=1
|
||||
fi
|
||||
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
@ -473,6 +473,7 @@
|
||||
./bin/tests/system/coverage/10-check-ksk/expect X 2014,2018
|
||||
./bin/tests/system/coverage/11-cutoff/README X 2014,2018
|
||||
./bin/tests/system/coverage/11-cutoff/expect X 2014,2018
|
||||
./bin/tests/system/coverage/12-ksk-deletion/expect X 2018
|
||||
./bin/tests/system/coverage/clean.sh SH 2013,2014,2016,2018
|
||||
./bin/tests/system/coverage/setup.sh SH 2013,2014,2016,2017,2018
|
||||
./bin/tests/system/coverage/tests.sh SH 2013,2014,2016,2018
|
||||
|
Loading…
x
Reference in New Issue
Block a user