Fix pkcs11 test
The definition of SLOT
environmental variable, which needs to be defined otherwise slot 0
is expected, is the main culprit here.
Other fixes along the way:
- system test expect PIN to be
1234
butbin/tests/prepare-softhsm2.sh
sets it to0000
, I opted to change the PIN frombin/tests/prepare-softhsm2.sh
- I moved the content of
bin/tests/system/pkcs11/prereq.sh
tobin/tests/system/pkcs11/setup.sh
asprereq.sh
does not seems to be required and, more importantly,prereq.sh
createssupported
file butclean.sh
, which is run beforesetup.sh
, removes it and thussetup.sh
can't use it - there was a typo in
have_ecx
Fixes #1496 (closed).
Edited by Michal Nowak