Changeset db6bac4 in mod_gnutls for test


Ignore:
Timestamp:
Feb 2, 2016, 5:11:14 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
06f8005
Parents:
5d9f34e
Message:

PKCS #11 test case: Generate temporary SoftHSM config from here-document

Makes the test easier to understand, it needs one less static file,
and it will be easier to add SoftHSM 2 support this way.

Location:
test
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • test/test-24_pkcs11_cert.bash

    r5d9f34e rdb6bac4  
    1414trap cleanup_tmpconf EXIT
    1515
    16 sed "s,__DIR__,$(realpath $(pwd))," \
    17     "${testdir}/softhsm.conf.in" \
    18     >"${tmp_softhsm_conf}"
     16cat - >"${tmp_softhsm_conf}" <<EOF
     170:$(realpath $(pwd))/server/softhsm.db
     18EOF
    1919export SOFTHSM_CONF="${tmp_softhsm_conf}"
    2020echo "Generated temporary SoftHSM config ${tmp_softhsm_conf}:"
  • test/tests/Makefile.am

    r5d9f34e rdb6bac4  
    2424        22_TLS_reverse_proxy_crl_revoke/apache.conf 22_TLS_reverse_proxy_crl_revoke/backend.conf 22_TLS_reverse_proxy_crl_revoke/gnutls-cli.args 22_TLS_reverse_proxy_crl_revoke/input 22_TLS_reverse_proxy_crl_revoke/output \
    2525        23_TLS_reverse_proxy_mismatched_priorities/apache.conf 23_TLS_reverse_proxy_mismatched_priorities/backend.conf 23_TLS_reverse_proxy_mismatched_priorities/gnutls-cli.args 23_TLS_reverse_proxy_mismatched_priorities/input 23_TLS_reverse_proxy_mismatched_priorities/output \
    26         24_pkcs11_cert/apache.conf 24_pkcs11_cert/gnutls-cli.args 24_pkcs11_cert/input 24_pkcs11_cert/output 24_pkcs11_cert/softhsm.conf.in
     26        24_pkcs11_cert/apache.conf 24_pkcs11_cert/gnutls-cli.args 24_pkcs11_cert/input 24_pkcs11_cert/output
Note: See TracChangeset for help on using the changeset viewer.