[ovs-dev] [PATCH 2/2] ofproto-dpif: Kill off test-netflow daemon if test fails.
Ben Pfaff
blp at nicira.com
Mon Aug 20 19:30:18 UTC 2012
Thank you for looking these over. I pushed these to master.
On Mon, Aug 20, 2012 at 11:47:10AM -0700, Mehak Mahajan wrote:
> Looks good.
>
> Thanx!
> Mehak
>
> On Mon, Aug 20, 2012 at 10:33 AM, Ben Pfaff <blp at nicira.com> wrote:
>
> > Signed-off-by: Ben Pfaff <blp at 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 at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
> >
More information about the dev
mailing list