Fix possibly undefined values
[libisds.git] / test / init_gpgpme.c
blobf9f128f05db2f4612361ea03e76aada81b754156
1 #include "test.h"
2 #include "crypto.h"
4 static int test_init_gpgme(const isds_error error) {
5 isds_error err;
7 err = init_gpgme();
8 if (err != error)
9 FAIL_TEST("Wrong return value");
11 PASS_TEST;
14 int main(int argc, char **argv) {
16 INIT_TEST("init_gpgme");
18 TEST("initialization", test_init_gpgme, IE_SUCCESS);
20 SUM_TEST();