ofproto-dpif.at: Avoid using GNU sed extensions
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Wed, 24 Dec 2014 02:55:55 +0000 (11:55 +0900)
committerYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Wed, 24 Dec 2014 05:49:13 +0000 (14:49 +0900)
Introduced by commit f9038ef61e0bf89bcd753b7cfd187adb112601ec.
("recirculation: Map recirc_id to ofproto_dpif.")

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Acked-by: Alex Wang <alexw@nicira.com>
tests/ofproto-dpif.at

index 43bde4a..64cfcd4 100644 (file)
@@ -194,7 +194,7 @@ AT_CHECK([ovs-appctl revalidator/purge], [0])
 
 # Checks the flow stats in br1, should only be one flow with non-zero
 # 'n_packets' from internal table.
-AT_CHECK([ovs-appctl bridge/dump-flows br1 | ofctl_strip | grep -- "n_packets" | grep -- "table_id" | sed -e 's/output:[[0-9]]\+/output/'], [0], [dnl
+AT_CHECK([ovs-appctl bridge/dump-flows br1 | ofctl_strip | grep -- "n_packets" | grep -- "table_id" | sed -e 's/output:[[0-9]][[0-9]]*/output/'], [0], [dnl
 table_id=254, n_packets=1, n_bytes=64, priority=20,recirc_id=0x12d,dp_hash=0xa2/0xff,actions=output
 ])