Signed-off-by: Ben Pfaff <b...@nicira.com>
---
 tests/ofproto-dpif.at |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at
index 1e5856f..cc5d770 100644
--- a/tests/ofproto-dpif.at
+++ b/tests/ofproto-dpif.at
@@ -949,6 +949,7 @@ OVS_VSWITCHD_START(
      add-id-to-interface=false], [<0>
 ])
 
+ON_EXIT([kill `cat test-netflow.pid`])
 AT_CHECK([test-netflow --detach --no-chdir --pidfile $NETFLOW_PORT:127.0.0.1 > 
netflow.log])
 AT_CAPTURE_FILE([netflow.log])
 
@@ -993,6 +994,7 @@ OVS_VSWITCHD_START(
      add-id-to-interface=false], [<0>
 ])
 
+ON_EXIT([kill `test-netflow.pid`])
 AT_CHECK([test-netflow --detach --no-chdir --pidfile $NETFLOW_PORT:127.0.0.1 > 
netflow.log])AT_CAPTURE_FILE([netflow.log])
 
 AT_CHECK([ovs-appctl time/stop])
-- 
1.7.2.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to