[svn-commits] mmichelson: testsuite/asterisk/trunk r353 - /asterisk/trunk/asttest/lib/lua/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jun 4 17:16:36 CDT 2010


Author: mmichelson
Date: Fri Jun  4 17:16:32 2010
New Revision: 353

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=353
Log:
Add "sendfullybooted" option to default asterisk.conf file.

Without this, tests that run on non-trunk branches will not hang forever
due to their inability to catch the FullyBooted event.

A further modification would be to make use of the CLI command in the
asterisk:spawn() function so that it will not return until fully booted.
Then there would be no need to have individual tests use an AMI connection
for that purpose.


Modified:
    asterisk/trunk/asttest/lib/lua/astlib.lua

Modified: asterisk/trunk/asttest/lib/lua/astlib.lua
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/lib/lua/astlib.lua?view=diff&rev=353&r1=352&r2=353
==============================================================================
--- asterisk/trunk/asttest/lib/lua/astlib.lua (original)
+++ asterisk/trunk/asttest/lib/lua/astlib.lua Fri Jun  4 17:16:32 2010
@@ -170,6 +170,7 @@
 
 	s = c:new_section("options")
 	s["documentation_language"] = "en_US"
+	s["sendfullybooted"]="yes"
 
 	s = c:new_section("compat")
 	s["pbx_realtime"] = "1.6"




More information about the svn-commits mailing list