[asterisk-commits] mnicholson: testsuite/asterisk/trunk r394 - /asterisk/trunk/asttest/lib/lua/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 10 13:27:01 CDT 2010


Author: mnicholson
Date: Thu Jun 10 13:26:58 2010
New Revision: 394

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=394
Log:
Added more error output when asterisk fails to start.

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=394&r1=393&r2=394
==============================================================================
--- asterisk/trunk/asttest/lib/lua/astlib.lua (original)
+++ asterisk/trunk/asttest/lib/lua/astlib.lua Thu Jun 10 13:26:58 2010
@@ -151,6 +151,8 @@
 		local res, err = proc.perror(self:wait(1000))
 		if not res and err == "timeout" then
 			print("seems like asterisk is still running, but we cannot wait for it to be fully booted.  That is odd.")
+		elseif res then
+			print("asterisk exited with " .. res)
 		end
 
 		error("error starting asterisk")




More information about the asterisk-commits mailing list