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@default-.*'
+        requirements:
+            -
+                match:
+                    Value: 'yes'
+            -
+                match:
+                    Value: 'yes,please'
+        count: '2'
+    -
+        type: 'headermatch'
+        conditions:
+            match:
+                Event: 'VarSet'
+                Variable: '__INHERIT_PUSH'
+                Channel: 'Local/dest@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@default-.*'
+        requirements:
+            -
+                match:
+                    Value: 'please'
+            -
+                match:
+                    Value: 'yes,please'
+        count: '2'
+    -
+        type: 'headermatch'
+        conditions:
+            match:
+                Event: 'VarSet'
+                Variable: '__INHERIT_UNSHIFT'
+                Channel: 'Local/dest@default-.*'
+        requirements:
+            match:
+                Value: 'yes,please'
         count: '2'
     -
         type: 'headermatch'


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to