dnssec system test: Remove RSAMD5 usage and make script shellcheck compliant

This commit is contained in:
Ondřej Surý
2018-11-21 22:21:16 +01:00
parent a160fecaa1
commit ca7cadfa92
13 changed files with 1914 additions and 1899 deletions

View File

@@ -9,10 +9,10 @@
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
# shellcheck source=conf.sh
. "$SYSTEMTESTTOP/conf.sh"
$SHELL clean.sh
$SHELL clean.sh
copy_setports ns1/named.conf.in ns1/named.conf
copy_setports ns2/named.conf.in ns2/named.conf
@@ -24,16 +24,22 @@ copy_setports ns5/named1.conf.in ns5/named.conf
copy_setports ns6/named.conf.in ns6/named.conf
copy_setports ns7/named.conf.in ns7/named.conf
cd ns1
$SHELL sign.sh
(
cd ns1
$SHELL sign.sh
{
echo "a.bogus.example. A 10.0.0.22"
echo "b.bogus.example. A 10.0.0.23"
echo "c.bogus.example. A 10.0.0.23"
} >>../ns3/bogus.example.db.signed
)
echo "a.bogus.example. A 10.0.0.22" >>../ns3/bogus.example.db.signed
echo "b.bogus.example. A 10.0.0.23" >>../ns3/bogus.example.db.signed
echo "c.bogus.example. A 10.0.0.23" >>../ns3/bogus.example.db.signed
(
cd ns3
cp -f siginterval1.conf siginterval.conf
)
cd ../ns3
cp -f siginterval1.conf siginterval.conf
cd ../ns5
cp -f trusted.conf.bad trusted.conf
$SHELL sign.sh
(
cd ns5
$SHELL sign.sh
)