[ovs-dev] [PATCH 2/2] ovn-performance.at: Fix syntax error in ACL.

Han Zhou zhouhan at gmail.com
Wed Jul 10 04:23:11 UTC 2019


From: Han Zhou <hzhou8 at ebay.com>

This doesn't impact the effectiveness of the test but just fix an
obvious error in ACL syntax which was noticed when looking at test
logs.

Signed-off-by: Han Zhou <hzhou8 at ebay.com>
---
 tests/ovn-performance.at | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/ovn-performance.at b/tests/ovn-performance.at
index 5e061ee..a8a15f8 100644
--- a/tests/ovn-performance.at
+++ b/tests/ovn-performance.at
@@ -332,7 +332,7 @@ for i in 1 2; do
     # Add ACLs for port $lp
     OVN_CONTROLLER_EXPECT_NO_HIT(
         [hv1 hv2], [lflow_run],
-        [ovn-nbctl --wait=hv acl-add $ls to-lport 1001 'outport == \"$lp\" && ip4.src == \\$$as' allow]
+        [ovn-nbctl --wait=hv acl-add $ls to-lport 1001 'outport == \"$lp\" && ip4.src == \$$as' allow]
     )
     OVN_CONTROLLER_EXPECT_NO_HIT(
         [hv1 hv2], [lflow_run],
@@ -357,7 +357,7 @@ for i in 1 2; do
     # Delete ACLs for port $lp
     OVN_CONTROLLER_EXPECT_NO_HIT(
         [hv1 hv2], [lflow_run],
-        [ovn-nbctl --wait=hv acl-del $ls to-lport 1001 'outport == \"$lp\" && ip4.src == \\$$as']
+        [ovn-nbctl --wait=hv acl-del $ls to-lport 1001 'outport == \"$lp\" && ip4.src == \$$as']
     )
     OVN_CONTROLLER_EXPECT_NO_HIT(
         [hv1 hv2], [lflow_run],
-- 
2.1.0



More information about the dev mailing list