strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test_all now counts number of tests
[strongswan.git]
/
Source
/
charon
/
daemon.c
diff --git
a/Source/charon/daemon.c
b/Source/charon/daemon.c
index
24e0621
..
aaba851
100644
(file)
--- a/
Source/charon/daemon.c
+++ b/
Source/charon/daemon.c
@@
-20,13
+20,27
@@
* for more details.
*/
* for more details.
*/
+#include <stdio.h>
-
-
+#include "types.h"
+#include "tester.h"
+
+/* output for test messages */
+extern FILE * stderr;
int main()
{
int main()
{
+ FILE * test_output = stderr;
+
+ tester_t *tester = tester_create(test_output);
+
+ tester->test_all(tester);
- return 0;
+ if (tester->destroy(tester) == SUCCESS)
+ {
+ return -1;
+ }
+
+ return 0;
}
}