Home GnuPG
Diffusion GnuPG 50d12860ef21

tests: Restrict the use of gpgconf.ctl to make check.

Description

tests: Restrict the use of gpgconf.ctl to make check.

* common/homedir.c (unix_rootdir): Add ".enable" statement to
gpgconf.ctl
* tests/gpgconf.ctl.in: Use this statement.
* tests/cms/Makefile.am (OLD_TESTS_ENVIRONMENT): Enable .enable.
(TESTS_ENVIRONMENT): Ditto.
* tests/gpgme/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/migrations/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/openpgp/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/pkits/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/tpm2dtests/Makefile.am (TESTS_ENVIRONMENT): Ditto.

Without that it was required to delete the gpgconf.ctl to run manual
tests.

What a hack.

Details

Provenance
wernerAuthored on Sep 14 2022, 11:58 AM
Parents
rGe70e09c3d5e7: common: Fix for GPG_ERR_SOURCE_DEFAULT check.
Branches
Unknown
Tags
Unknown