]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix "pkcs11" system test
authorMichal Nowak <mnowak@isc.org>
Thu, 5 Mar 2020 07:00:50 +0000 (07:00 +0000)
committerMichal Nowak <mnowak@isc.org>
Thu, 5 Mar 2020 07:00:50 +0000 (07:00 +0000)
commit53ca8cac1462aa0dec9c5ba07ef2db0b0cc9cce2
treef313cbdd7ac1cbd17d7e7b241048f05e9b24f47d
parent15afc909417f138125e52775cc72661fe4e10ce9
Fix "pkcs11" system test

  - Define the SLOT environment variable before starting the test.  This
    variable defaults to 0 and that does not work with SoftHSM 2.

  - The system test expects the PIN environment variable to be set to
    "1234" while bin/tests/prepare-softhsm2.sh sets it to "0000".
    Update bin/tests/prepare-softhsm2.sh so that it sets the PIN to
    "1234".

  - Move contents of bin/tests/system/pkcs11/prereq.sh to
    bin/tests/system/pkcs11/setup.sh as the former was creating a file
    called "supported" that was getting removed by the latter before
    bin/tests/system/pkcs11/tests.sh could access it.

  - Fix typo in "have_ecx".

(cherry picked from commit 100a230e80f01a777b917b135b4bae9a4ac0e8ae)
.gitlab-ci.yml
bin/tests/prepare-softhsm2.sh
bin/tests/system/pkcs11/clean.sh
bin/tests/system/pkcs11/prereq.sh [deleted file]
bin/tests/system/pkcs11/setup.sh
bin/tests/system/pkcs11/tests.sh
util/copyrights