[asterisk-commits] mnicholson: testsuite/asterisk/trunk r429 - /asterisk/trunk/tests/manager-act...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 24 12:05:41 CDT 2010
Author: mnicholson
Date: Thu Jun 24 12:05:37 2010
New Revision: 429
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=429
Log:
Stop asterisk after each phase of the test
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=429&r1=428&r2=429
==============================================================================
--- asterisk/trunk/tests/manager-action-events-response/test.lua (original)
+++ asterisk/trunk/tests/manager-action-events-response/test.lua Thu Jun 24 12:05:37 2010
@@ -56,6 +56,9 @@
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")
+
print("testing with brokeneventsaction on")
quirks = ast.new()
quirks:generate_manager_conf()
@@ -73,3 +76,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")
+
More information about the asterisk-commits
mailing list