diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-12-02 17:56:16 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-12-02 17:56:16 +0100 |
commit | a514a474bc42e37c7d13cff2c4dd37702b2630ea (patch) | |
tree | a138f2d9bc030d139a74094b0a1f69ce17c7f453 /src/main.c | |
parent | 11980d73325e7f94b4bb78f1556d00f8442d4617 (diff) | |
download | connman-a514a474bc42e37c7d13cff2c4dd37702b2630ea.tar.gz connman-a514a474bc42e37c7d13cff2c4dd37702b2630ea.tar.bz2 connman-a514a474bc42e37c7d13cff2c4dd37702b2630ea.zip |
Remove selftest file and option
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -64,7 +64,6 @@ static gchar *option_noplugin = NULL; static gchar *option_wifi = NULL; static gboolean option_detach = TRUE; static gboolean option_compat = FALSE; -static gboolean option_selftest = FALSE; static gboolean option_version = FALSE; static gboolean parse_debug(const char *key, const char *value, @@ -97,8 +96,6 @@ static GOptionEntry options[] = { "Don't fork daemon to background" }, { "compat", 'c', 0, G_OPTION_ARG_NONE, &option_compat, "Enable Network Manager compatibility" }, - { "selftest", 't', 0, G_OPTION_ARG_NONE, &option_selftest, - "Run self testing routines" }, { "version", 'v', 0, G_OPTION_ARG_NONE, &option_version, "Show version information and exit" }, { NULL }, @@ -212,13 +209,6 @@ int main(int argc, char *argv[]) __connman_log_init(option_debug, option_detach); - if (option_selftest == TRUE) { - if (__connman_selftest() < 0) { - connman_error("Self testing routines failed"); - goto selftest; - } - } - __connman_dbus_init(conn); __connman_storage_init(); @@ -287,7 +277,6 @@ int main(int argc, char *argv[]) __connman_dbus_cleanup(); -selftest: __connman_log_cleanup(); dbus_connection_unref(conn); |