[asterisk-commits] rmudgett: testsuite/asterisk/trunk r3404 - in /asterisk/trunk/tests/hangup: ....
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Aug 3 10:43:54 CDT 2012
Author: rmudgett
Date: Fri Aug 3 10:43:52 2012
New Revision: 3404
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3404
Log:
Hangup handler testsuite test (endbeforehexten=yes).
Exercises the h-exten and hangup handler subroutines with
endbeforehexten=yes.
Tests to test hangup handlers:
1) Tests relative hangup handler location resolution.
2) Tests hangup_handler_pop and hangup_handler_wipe
3) Tests hangup handler stack execution order
4) Tests hangup handler execution on both sides of a single call with and
without an h-exten.
5) Tests hangup handler execution on a forked call with and without an
h-exten.
6) CDR endbeforehexten test.
(closes issue SWP-4207)
Reported by: Matt Jordan
Tested by: rmudgett
Added:
asterisk/trunk/tests/hangup/handlers_endbeforehexten/
- copied from r3403, asterisk/trunk/tests/hangup/handlers/
Modified:
asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/cdr.conf
asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/extensions.conf
asterisk/trunk/tests/hangup/handlers_endbeforehexten/test-config.yaml
asterisk/trunk/tests/hangup/tests.yaml
Modified: asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/cdr.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/cdr.conf?view=diff&rev=3404&r1=3403&r2=3404
==============================================================================
--- asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/cdr.conf (original)
+++ asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/cdr.conf Fri Aug 3 10:43:52 2012
@@ -1,2 +1,2 @@
[general]
-endbeforehexten=no
+endbeforehexten=yes
Modified: asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/extensions.conf?view=diff&rev=3404&r1=3403&r2=3404
==============================================================================
--- asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/hangup/handlers_endbeforehexten/configs/ast1/extensions.conf Fri Aug 3 10:43:52 2012
@@ -11,7 +11,7 @@
[check_cdr]
-exten => xtn,1,GotoIf($["${CDR(end,u)}"="0.000000"]?done)
+exten => xtn,1,GotoIf($["${CDR(end,u)}"!="0.000000"]?done)
exten => xtn,n,UserEvent(U_Failed,test: ${TEST_EXTEN},status: CDR(end,u)=${CDR(end,u)} was not as expected for ${ARG1}.)
exten => xtn,n(done),Return()
Modified: asterisk/trunk/tests/hangup/handlers_endbeforehexten/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/hangup/handlers_endbeforehexten/test-config.yaml?view=diff&rev=3404&r1=3403&r2=3404
==============================================================================
--- asterisk/trunk/tests/hangup/handlers_endbeforehexten/test-config.yaml (original)
+++ asterisk/trunk/tests/hangup/handlers_endbeforehexten/test-config.yaml Fri Aug 3 10:43:52 2012
@@ -1,10 +1,10 @@
testinfo:
- summary: 'Test hangup handler subroutines (endbeforehexten=no)'
+ summary: 'Test hangup handler subroutines (endbeforehexten=yes)'
description: |
'When a call is terminated, the user has the option of running an h exten
and/or hangup handler dialplan subroutines. This test verifies that the
expected dialplan hangup locations are executed.
- Tests run with endbeforehexten=no'
+ Tests run with endbeforehexten=yes'
properties:
minversion: '11.0.0'
Modified: asterisk/trunk/tests/hangup/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/hangup/tests.yaml?view=diff&rev=3404&r1=3403&r2=3404
==============================================================================
--- asterisk/trunk/tests/hangup/tests.yaml (original)
+++ asterisk/trunk/tests/hangup/tests.yaml Fri Aug 3 10:43:52 2012
@@ -1,3 +1,4 @@
# Enter tests here in the order they should be considered for execution:
tests:
- test: 'handlers'
+ - test: 'handlers_endbeforehexten'
More information about the asterisk-commits
mailing list