[asterisk-commits] mnicholson: testsuite/asterisk/trunk r433 - /asterisk/trunk/tests/manager-act...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 24 12:25:05 CDT 2010


Author: mnicholson
Date: Thu Jun 24 12:25:01 2010
New Revision: 433

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=433
Log:
Logoff from the manager and close the connection when we are finished using it.

Modified:
    asterisk/trunk/tests/manager-action-events-response/test.lua

Modified: asterisk/trunk/tests/manager-action-events-response/test.lua
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/manager-action-events-response/test.lua?view=diff&rev=433&r1=432&r2=433
==============================================================================
--- asterisk/trunk/tests/manager-action-events-response/test.lua (original)
+++ asterisk/trunk/tests/manager-action-events-response/test.lua Thu Jun 24 12:25:01 2010
@@ -48,6 +48,9 @@
 	elseif got_response and not expected_response then
 		fail("got a response to the 'Events' manager action when we did not expect one:\n" .. got_response:_format())
 	end
+	
+	m(action.logoff())
+	m:close()
 end
 
 action = ast.manager.action




More information about the asterisk-commits mailing list