Changeset ff039b1 in mod_gnutls for test/test_ca.mk


Ignore:
Timestamp:
Jan 9, 2020, 3:03:14 PM (14 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
478767a
Parents:
60ed7d1
Message:

Test suite: Replace softhsm.bash with Python code

With this all test scripts only call runtest.py.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_ca.mk

    r60ed7d1 rff039b1  
    8585        $(cert_rule)
    8686
    87 %/softhsm2.conf: %/secret.key
    88         echo "objectstore.backend = file" > $@
    89         echo "directories.tokendir = $(dir $@)softhsm2.db" >> $@
    90 
    91 %/softhsm2.db: %/x509.pem %/secret.key %/softhsm2.conf
    92         rm -rf $@
    93         mkdir -p $@
     87%/softhsm2.db: %/x509.pem %/secret.key
    9488        SOFTHSM="$(SOFTHSM)" \
    95         SOFTHSM2_CONF="$(dir $@)softhsm2.conf" \
    96         $(srcdir)/softhsm.bash init $(dir $@)secret.key $(dir $@)x509.pem
     89        $(PYTHON) $(srcdir)/softhsm-init.py --token-dir $@ --privkey $(dir $@)secret.key --certificate $(dir $@)x509.pem
    9790
    9891# Generate CRL revoking a certain certificate. Currently used to
Note: See TracChangeset for help on using the changeset viewer.