Changeset db6bac4 in mod_gnutls for test/test-24_pkcs11_cert.bash


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.

File:
1 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}:"
Note: See TracChangeset for help on using the changeset viewer.