aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-06-19 18:38:28 +0000
committerWerner Koch <[email protected]>2008-06-19 18:38:28 +0000
commit63ea0d66630d2d790f82d744ee88b51b7e3c3b59 (patch)
tree5d0b344a8812c3aee65bfd8091698570820ea120 /tests
parentAdd new types to the gpgconf interface. (diff)
downloadgpgme-63ea0d66630d2d790f82d744ee88b51b7e3c3b59.tar.gz
gpgme-63ea0d66630d2d790f82d744ee88b51b7e3c3b59.zip
Add example.
Update gpgconf test.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/gpg/t-gpgconf.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 2815c680..060c12ff 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-19 Werner Koch <[email protected]>
+
+ * gpg/t-gpgconf.c (dump_arg): Add new types. Print strings in
+ quotes.
+
2008-01-28 Marcus Brinkmann <[email protected]>
* gpg/Makefile.am (DISTCLEANFILES): Add pubring.kbx~.
diff --git a/tests/gpg/t-gpgconf.c b/tests/gpg/t-gpgconf.c
index 8d9fb200..8e487b7a 100644
--- a/tests/gpg/t-gpgconf.c
+++ b/tests/gpg/t-gpgconf.c
@@ -104,7 +104,11 @@ dump_arg (int type, gpgme_conf_arg_t arg)
case GPGME_CONF_STRING:
case GPGME_CONF_PATHNAME:
case GPGME_CONF_LDAP_SERVER:
- printf ("%s", arg->value.string);
+ case GPGME_CONF_KEY_FPR:
+ case GPGME_CONF_PUB_KEY:
+ case GPGME_CONF_SEC_KEY:
+ case GPGME_CONF_ALIAS_LIST:
+ printf ("`%s'", arg->value.string);
break;
case GPGME_CONF_UINT32: