X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fofproto.at;h=47402f79b427d1bb7711b298129f0919c91761da;hb=0b7140bbc55768f9f1d12f2cc42fa29c5fa98483;hp=e3239f9830ae4bc91ffaacccb2322e786b22896b;hpb=1e95906159ad032be97a2122e9816b85bdc4ab32;p=sliver-openvswitch.git diff --git a/tests/ofproto.at b/tests/ofproto.at index e3239f983..47402f79b 100644 --- a/tests/ofproto.at +++ b/tests/ofproto.at @@ -910,7 +910,7 @@ echo n_msgs=$n_msgs OVS_VSWITCHD_START # Start a monitor watching the flow table, then make it block. -trap 'kill `cat ovsdb-server.pid ovs-vswitchd.pid ovs-ofctl.pid`' 0 +ON_EXIT([kill `cat ovs-ofctl.pid`]) ovs-ofctl monitor br0 watch: --detach --no-chdir --pidfile >monitor.log 2>&1 AT_CAPTURE_FILE([monitor.log]) ovs-appctl -t ovs-ofctl ofctl/block