summaryrefslogtreecommitdiff
path: root/src/selftest.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-13 19:25:04 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-13 19:25:04 +0100
commitaad2c32df36c15ccafaadd5c0f7f71aff4c21995 (patch)
tree74753a68cc3bc5eb3f10aee407388dbec26337fd /src/selftest.c
parent1854341db894fd9efc8aa5eabe32b3a101ec605c (diff)
downloadconnman-aad2c32df36c15ccafaadd5c0f7f71aff4c21995.tar.gz
connman-aad2c32df36c15ccafaadd5c0f7f71aff4c21995.tar.bz2
connman-aad2c32df36c15ccafaadd5c0f7f71aff4c21995.zip
Add improved resolver framework
Diffstat (limited to 'src/selftest.c')
-rw-r--r--src/selftest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/selftest.c b/src/selftest.c
index b3e0c238..17f77587 100644
--- a/src/selftest.c
+++ b/src/selftest.c
@@ -31,8 +31,12 @@ int __connman_selftest(void)
connman_info("Start self testing");
- err = 0;
+ connman_info("Testing resolver unit");
+ err = __connman_resolver_selftest();
+ if (err < 0)
+ goto done;
+done:
connman_info("Finished self testing");
return err;