repo.or.cz
/
libisds.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix possibly undefined values
[libisds.git]
/
test
/
init_gpgpme.c
blob
f9f128f05db2f4612361ea03e76aada81b754156
1
#include
"test.h"
2
#include
"crypto.h"
3
4
static int
test_init_gpgme
(
const
isds_error error
) {
5
isds_error err
;
6
7
err
=
init_gpgme
();
8
if
(
err
!=
error
)
9
FAIL_TEST
(
"Wrong return value"
);
10
11
PASS_TEST
;
12
}
13
14
int
main
(
int
argc
,
char
**
argv
) {
15
16
INIT_TEST
(
"init_gpgme"
);
17
18
TEST
(
"initialization"
,
test_init_gpgme
,
IE_SUCCESS
);
19
20
SUM_TEST
();
21
}