[ovs-dev] [PATCH 3/3] ovs-vswitchd.at: Avoid using GNU sed extensions

YAMAMOTO Takashi yamamoto at valinux.co.jp
Fri May 2 23:10:01 UTC 2014


Introduced by commit 12eb035b.
("bridge: Allow users to configure statistics update to OVSDB.")

Cc: Alex Wang <alexw at nicira.com>
Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
---
 tests/ovs-vswitchd.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ovs-vswitchd.at b/tests/ovs-vswitchd.at
index 9f9721b..cbe0ee9 100644
--- a/tests/ovs-vswitchd.at
+++ b/tests/ovs-vswitchd.at
@@ -29,7 +29,7 @@ AT_CLEANUP
 
 dnl ----------------------------------------------------------------------
 m4_define([OVS_VSCTL_CHECK_RX_PKT], [
-AT_CHECK([ovs-vsctl list int $1 | grep statistics | sed -n 's/^.*\(rx_packets=[[0-9]]\+\).*$/\1/p'],[0],
+AT_CHECK([ovs-vsctl list int $1 | grep statistics | sed -n 's/^.*\(rx_packets=[[0-9]][[0-9]]*\).*$/\1/p'],[0],
 [dnl
 rx_packets=$2
 ])
-- 
1.8.3.1




More information about the dev mailing list