On Sat, Jul 02, 2016 at 03:01:03PM -0400, Lance Richardson wrote:
> ----- Original Message -----
> > From: "Ben Pfaff" <b...@ovn.org>
> > To: "Lance Richardson" <lrich...@redhat.com>
> > Cc: dev@openvswitch.org
> > Sent: Saturday, July 2, 2016 2:45:23 PM
> > Subject: Re: [ovs-dev] [PATCH] ovn: gracefully exit daemons in "3 HVs, 3 
> > LS, 3 lports/LS, 1 LR" test
> > 
> > On Sat, Jul 02, 2016 at 02:14:18PM -0400, Lance Richardson wrote:
> > > Gracefully exit all daemons in this test case.
> > > 
> > > Signed-off-by: Lance Richardson <lrich...@redhat.com>
> > 
> > It would probably be better to come up with a systematic way to do this
> > automatically.
> > 
> > I applied this anyway.
> > 
> > Thanks,
> > 
> > Ben.
> > 
> 
> Agree, this isn't very "DRY".
> 
> How about simply creating functions/macros corresponding to sim_add, 
> ovn_attach,
> etc. to terminate the daemons they start? If so, I could take a stab.

That would be helpful.

The biggest obstacle is probably that AT_CHECK can't be invoked directly
from a shell function that is not inside AT_SETUP...AT_CLEANUP.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to