From 092c013d894bacbb9971b00b6731ee048d51a18b Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 20 Oct 2015 08:24:46 +0300 Subject: [PATCH] Use new slot syntax in test --- regression-tests/start-test-stop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regression-tests/start-test-stop b/regression-tests/start-test-stop index 61d4f37d2..3a6c0913c 100755 --- a/regression-tests/start-test-stop +++ b/regression-tests/start-test-stop @@ -87,13 +87,13 @@ securezone () slot=$((slot+1)) fi sudo softhsm --init-token --slot $slot --label label$slot --pin 123$slot --so-pin 123$slot - kid=`$PDNSSEC --config-dir=. $configname hsm assign $zone rsasha256 ksk softhsm $slot 123$slot label$slot 2>&1 | grep softhsm | awk '{ print $NF }'` + kid=`$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=`$PDNSSEC --config-dir=. $configname show-zone $zone | grep 'ID =.*KSK' | awk '{ print $3 }'` $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=`$PDNSSEC --config-dir=. $configname hsm assign $zone rsasha256 zsk softhsm $slot 123$slot label$slot 2>&1 | grep softhsm | awk '{ print $NF }'` + kid=`$PDNSSEC --config-dir=. $configname hsm assign $zone rsasha256 zsk softhsm label$slot 123$slot label$slot 2>&1 | grep softhsm | awk '{ print $NF }'` kid=`$PDNSSEC --config-dir=. $configname show-zone $zone | grep 'ID =.*ZSK' | awk '{ print $3 }'` $PDNSSEC --config-dir=. $configname hsm create-key $zone $kid else -- 2.40.0