[asterisk-commits] pabelanger: branch pabelanger/SWP-2533 r1369 - /asterisk/team/pabelanger/SWP-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 15 14:17:22 CST 2011


Author: pabelanger
Date: Tue Feb 15 14:17:17 2011
New Revision: 1369

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1369
Log:
Update per russellb's comments

Modified:
    asterisk/team/pabelanger/SWP-2533/tests/dynamic-modules/run-test

Modified: asterisk/team/pabelanger/SWP-2533/tests/dynamic-modules/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/SWP-2533/tests/dynamic-modules/run-test?view=diff&rev=1369&r1=1368&r2=1369
==============================================================================
--- asterisk/team/pabelanger/SWP-2533/tests/dynamic-modules/run-test (original)
+++ asterisk/team/pabelanger/SWP-2533/tests/dynamic-modules/run-test Tue Feb 15 14:17:17 2011
@@ -92,21 +92,18 @@
         # TODO: Fixed res_http_post crash
         resources = ["res_adsi", "res_ael_share", "res_agi", "res_ais", "res_calendar_caldav", "res_calendar_exchange", "res_calendar_icalendar", "res_clialiases", "res_clioriginate", "res_config_curl", "res_config_ldap", "res_config_odbc", "res_config_pgsql", "res_config_sqlite", "res_convert", "res_crypto", "res_fax_spandsp", "res_jabber", "res_limit", "res_monitor", "res_musiconhold", "res_mutestream", "res_phoneprov", "res_pktccops", "res_realtime", "res_rtp_asterisk", "res_rtp_multicast", "res_security_log", "res_smdi", "res_snmp", "res_speech", "res_timing_dahdi", "res_timing_kqueue", "res_timing_pthread", "res_timing_timerfd"]
 
-        for module in resources:
-            res.append([module + ".so", False, False, False])
+        res = [ (module + ".so", False, False, False) for module in resources ]
 
         for module in preload_res:
             self.load_module(module)
 
         for module in res:
             result = self.load_module(module)
-            time.sleep(1)
 
             if not result:
                 continue
 
             self.unload_module(module)
-            time.sleep(1)
 
         for module in preload_res:
             self.unload_module(module)




More information about the asterisk-commits mailing list