From: <svn...@op...> - 2009-02-25 15:19:32
|
Author: bellmich Date: Wed Feb 25 16:19:24 2009 New Revision: 949 URL: http://libsyncml.opensync.org/changeset/949 Log: small modification because sometimes there is trouble with traces Modified: trunk/tests/check_data_sync_api.c Modified: trunk/tests/check_data_sync_api.c ============================================================================== --- trunk/tests/check_data_sync_api.c Tue Feb 24 18:37:41 2009 (r948) +++ trunk/tests/check_data_sync_api.c Wed Feb 25 16:19:24 2009 (r949) @@ -345,7 +345,10 @@ if (!smlDataSyncRun(client, &error)) goto error; /* The OBEX server needs some time to start. */ - sleep(5); + if (g_getenv("SYNCML_TRACE")) + sleep(2); + else + sleep(5); if (!smlDataSyncRun(server, &error)) goto error; } |