On 6 February 2015 at 14:33, Ben Pfaff <b...@nicira.com> wrote:
> On Fri, Feb 06, 2015 at 02:31:00PM -0800, Joe Stringer wrote:
>> On 5 February 2015 at 16:06, Andy Zhou <az...@nicira.com> wrote:
>> If we apply the same to the OVS test case here, then
>> this means that the namespaces will not be cleaned up if the test
>> fails. What I've done in private testing is to modify the
>> ADD_NAMESPACES() macro to add the DEL_NAMESPACES commands to the end
>> of the "cleanup" file, which appears to be invoked through AT_CLEANUP.
>
> That's probably the right approach for anything that really needs to
> get cleaned up.  (You can use the ON_EXIT macro to do this.)

Turns out that I just didn't read far enough into the patchset; this
is exactly what Andy does.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to