gpgme/tests
Werner Koch 6564e5e78e Add global flags disable-gpgconf, gpgconf-name, and gpg-name.
* src/gpgme.c (gpgme_set_global_flag): Add names "disable-gpgconf",
"gpgconf-name", and "gpg-name".
* src/dirinfo.c (_gpgme_dirinfo_disable_gpgconf): New.
(get_gpgconf_item): Minor debug info change.
* src/posix-util.c (default_gpg_name, default_gpgconf_name): Add vars.
(_gpgme_set_default_gpg_name): New.
(_gpgme_set_default_gpgconf_name): New.
(_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Use new vars.
(walk_path): Add debug output on failure.
* src/w32-util.c (default_gpg_name, default_gpgconf_name): Add vars.
(replace_slashes): New.
(get_basename): New.
(_gpgme_set_default_gpg_name): New.
(_gpgme_set_default_gpgconf_name): New.
(_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Use new vars.

* tests/t-engine-info.c (main): Add --verbose and --set-global-flag
options.
--

Note that the Windows part has not been tested.
2014-01-06 17:16:52 +01:00
..
gpg Locate engine names only at runtime and prefer GnuPG-2. 2013-12-27 16:08:20 +01:00
gpgsm Locate engine names only at runtime and prefer GnuPG-2. 2013-12-27 16:08:20 +01:00
opassuan .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
Makefile.am Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
run-export.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-import.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-keylist.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-sign.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-support.h Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-verify.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
t-data-1.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data-2.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
t-engine-info.c Add global flags disable-gpgconf, gpgconf-name, and gpg-name. 2014-01-06 17:16:52 +01:00
t-version.c Change the various version numbers to the new scheme. 2013-02-26 17:10:18 +01:00