Hi Ben,

On Tue, Sep 29, 2015 at 11:17:13AM -0700, Ben Pfaff wrote:
> AT_CHECK runs its commands in a subshell.  That means that (among other
> effects), any variable assignments within its commands will disappear after
> the commands' completion.  That doesn't matter for any of the existing
> users, which don't do the sorts of things that affect an outer shell
> environment anyhow, but an upcoming user wants to make a shell assignment
> that persists.  This commit makes that possible, by using AT_CHECK
> (actually AT_FAIL_IF but it's moot) only upon failure instead of bracketing
> the entire test.
> 
> Signed-off-by: Ben Pfaff <b...@nicira.com>

From my point of view adding support for side effects isn't particularly
desirable, however, I'm not sure that I know a way to cleanly handle the
use-case in the third patch of the series. So I guess its best to give a
little to get a lot.

With the above in mind, the entire series:

Reviewed-by: Simon Horman <simon.hor...@netronome.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to