[asterisk-commits] mnicholson: testsuite/asterisk/trunk r437 - /asterisk/trunk/tests/manager-act...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 24 13:42:10 CDT 2010
Author: mnicholson
Date: Thu Jun 24 13:42:07 2010
New Revision: 437
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=437
Log:
Don't fail if there is an error terminating asterisk, just log 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=437&r1=436&r2=437
==============================================================================
--- asterisk/trunk/tests/manager-action-events-response/test.lua (original)
+++ asterisk/trunk/tests/manager-action-events-response/test.lua Thu Jun 24 13:42:07 2010
@@ -71,8 +71,8 @@
test_events_response(standard, "yeah whatever", true)
test_events_response(standard, "1", true)
--- make sure asterisk exited properly
-fail_if(not proc.perror(standard:term_or_kill()), "asterisk encountered an error")
+-- term or kill asterisk, ignoring any errors
+proc.perror(standard:term_or_kill())
print("testing with brokeneventsaction on")
quirks = ast.new()
@@ -91,6 +91,6 @@
test_events_response(quirks, "yeah whatever", true)
test_events_response(quirks, "1", true)
--- make sure asterisk exited properly
-fail_if(not proc.perror(quirks:term_or_kill()), "asterisk encountered an error")
+-- term or kill asterisk, ignoring any errors
+proc.perror(quirks:term_or_kill())
More information about the asterisk-commits
mailing list