Add sleep before running p11sak
This commit is contained in:
parent
ed2b40bd63
commit
ee01e76443
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ rlJournalStart
|
|||
rlPhaseStartTest "Generate aes key as $USER and verify stats"
|
||||
rlRun -s "pkcsstats -s $SLOT -U $USER" 0,1
|
||||
rlAssertGrep "(no mechanisms were used|No statistics are available for user '$USER')" $rlRun_LOG -E
|
||||
rlRun "su - $USER -c 'p11sak generate-key aes 128 --slot $SLOT --pin $pkcsUSER_PIN --label aes_key --attr ED'"
|
||||
rlRun "su - $USER -c 'sleep 3 && p11sak generate-key aes 128 --slot $SLOT --pin $pkcsUSER_PIN --label aes_key --attr ED'"
|
||||
rlRun -s "p11sak list-key aes --slot $SLOT --pin $pkcsUSER_PIN"
|
||||
rlAssertGrep "AES 128 | aes_key" $rlRun_LOG
|
||||
rlRun -s "pkcsstats -s $SLOT -U $USER"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue