From: Michael Tremer Date: Thu, 30 Nov 2017 12:12:03 +0000 (+0100) Subject: testsuite: Dump key information X-Git-Tag: 0.9.28~1285^2~1235 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a26709aa3a726ccc1f36b2ae8f8fb7b675ab37ba;p=pakfire.git testsuite: Dump key information Signed-off-by: Michael Tremer --- diff --git a/tests/libpakfire/key.c b/tests/libpakfire/key.c index 81fda419f..1c119a0dd 100644 --- a/tests/libpakfire/key.c +++ b/tests/libpakfire/key.c @@ -76,6 +76,12 @@ int test_export(const test_t* t) { PakfireKey key = pakfire_key_get(t->pakfire, TEST_KEY_FINGERPRINT); assert_return(key, EXIT_FAILURE); + // Dump key description + char* dump = pakfire_key_dump(key); + assert_return(dump, EXIT_FAILURE); + LOG("%s\n", dump); + pakfire_free(dump); + char* data = pakfire_key_export(key, 0); assert_return(data, EXIT_FAILURE);