Permalink
Browse files

Use new slot syntax in test

  • Loading branch information...
1 parent 0ff3037 commit 83e0e530a429580070523d0f0533fe8cf07ee6b7 @cmouse cmouse committed with Andrei Benea Oct 20, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 regression-tests/start-test-stop
@@ -75,13 +75,13 @@ securezone ()
slot=$((slot+1))
fi
sudo softhsm --init-token --slot $slot --label label$slot --pin 123$slot --so-pin 123$slot
- kid=`../pdns/pdnssec --config-dir=. $configname hsm assign $zone rsasha256 ksk softhsm $slot 123$slot label$slot 2>&1 | grep softhsm | awk '{ print $NF }'`
+ kid=`../pdns/pdnssec --config-dir=. $configname hsm assign $zone rsasha256 ksk softhsm label$slot 123$slot label$slot 2>&1 | grep softhsm | awk '{ print $NF }'`
# keep this until #1413 is merged
kid=`../pdns/pdnssec --config-dir=. $configname show-zone $zone | grep 'ID =.*KSK' | awk '{ print $3 }'`
../pdns/pdnssec --config-dir=. $configname hsm create-key $zone $kid
slot=$((slot+1))
sudo softhsm --init-token --slot $slot --label label$slot --pin 123$slot --so-pin 123$slot
- kid=`../pdns/pdnssec --config-dir=. $configname hsm assign $zone rsasha256 zsk softhsm $slot 123$slot label$slot 2>&1 | grep softhsm | awk '{ print $NF }'`
+ kid=`../pdns/pdnssec --config-dir=. $configname hsm assign $zone rsasha256 zsk softhsm label$slot 123$slot label$slot 2>&1 | grep softhsm | awk '{ print $NF }'`
kid=`../pdns/pdnssec --config-dir=. $configname show-zone $zone | grep 'ID =.*ZSK' | awk '{ print $3 }'`
../pdns/pdnssec --config-dir=. $configname hsm create-key $zone $kid
else

0 comments on commit 83e0e53

Please sign in to comment.