Changeset ee94de5 in mod_gnutls for test/test_ca.mk


Ignore:
Timestamp:
Oct 12, 2017, 12:54:14 PM (2 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
321912b
Parents:
acea635
git-author:
Thomas Klute <thomas2.klute@…> (10/12/17 12:41:31)
git-committer:
Thomas Klute <thomas2.klute@…> (10/12/17 12:54:14)
Message:

Test suite: Clean up for current GnuPG versions

Newer GnuPG versions start gpg-agent processes per GNUPGHOME (one for
every PGP identity) while creating the PGP certificates and leave an
authority/tofu.db file. Stop agent processes during check or
mostlyclean targets to be sure they are gone and do not interfere with
later test runs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_ca.mk

    racea635 ree94de5  
    4848%/cert.pgp: %/minimal.pgp authority/minimal.pgp
    4949        if test -r $@; then rm $@; fi
    50         GNUPGHOME=authority $(GPG_FLOCK) gpg --import $<
    51         GNUPGHOME=authority $(GPG_FLOCK) gpg --batch --sign-key --no-tty --yes "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)"
    52         GNUPGHOME=authority $(GPG_FLOCK) gpg --output $@ --armor --export "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)"
     50        GNUPGHOME=authority/ $(GPG_FLOCK) gpg --import $<
     51        GNUPGHOME=authority/ $(GPG_FLOCK) gpg --batch --sign-key --no-tty --yes "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)"
     52        GNUPGHOME=authority/ $(GPG_FLOCK) gpg --output $@ --armor --export "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)"
    5353
    5454# special cases for the authorities' root certs:
Note: See TracChangeset for help on using the changeset viewer.