]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix "pkcs11" system test
authorMichal Nowak <mnowak@isc.org>
Wed, 4 Mar 2020 16:06:31 +0000 (16:06 +0000)
committerMichal Nowak <mnowak@isc.org>
Wed, 4 Mar 2020 16:06:31 +0000 (16:06 +0000)
commit85cb3a214f914aa809cd57e34d77b2ccedccf99f
tree7cf17426cde0df67d0c93770c52db40af6b3c122
parent7509e2272539c018eba0c3ab1f31b1d56e7ebea8
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".
.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