[asterisk-commits] mjordan: testsuite/asterisk/trunk r5749 - /asterisk/trunk/tests/funcs/func_push/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 17 12:31:47 CDT 2014


Author: mjordan
Date: Fri Oct 17 12:31:44 2014
New Revision: 5749

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5749
Log:
funcs/func_push: Update test to expect inherited variables to propagate

Modified:
    asterisk/trunk/tests/funcs/func_push/test-config.yaml

Modified: asterisk/trunk/tests/funcs/func_push/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/funcs/func_push/test-config.yaml?view=diff&rev=5749&r1=5748&r2=5749
==============================================================================
--- asterisk/trunk/tests/funcs/func_push/test-config.yaml (original)
+++ asterisk/trunk/tests/funcs/func_push/test-config.yaml Fri Oct 17 12:31:44 2014
@@ -170,13 +170,25 @@
             match:
                 Event: 'VarSet'
                 Variable: '__INHERIT_PUSH'
-        requirements:
-            -
-                match:
-                    Value: 'yes'
-            -
-                match:
-                    Value: 'yes,please'
+                Channel: 'Local/s at default-.*'
+        requirements:
+            -
+                match:
+                    Value: 'yes'
+            -
+                match:
+                    Value: 'yes,please'
+        count: '2'
+    -
+        type: 'headermatch'
+        conditions:
+            match:
+                Event: 'VarSet'
+                Variable: '__INHERIT_PUSH'
+                Channel: 'Local/dest at default-.*'
+        requirements:
+            match:
+                Value: 'yes,please'
         count: '2'
     -
         type: 'orderedheadermatch'
@@ -198,13 +210,25 @@
             match:
                 Event: 'VarSet'
                 Variable: '__INHERIT_UNSHIFT'
-        requirements:
-            -
-                match:
-                    Value: 'please'
-            -
-                match:
-                    Value: 'yes,please'
+                Channel: 'Local/s at default-.*'
+        requirements:
+            -
+                match:
+                    Value: 'please'
+            -
+                match:
+                    Value: 'yes,please'
+        count: '2'
+    -
+        type: 'headermatch'
+        conditions:
+            match:
+                Event: 'VarSet'
+                Variable: '__INHERIT_UNSHIFT'
+                Channel: 'Local/dest at default-.*'
+        requirements:
+            match:
+                Value: 'yes,please'
         count: '2'
     -
         type: 'headermatch'




More information about the asterisk-commits mailing list