[ovs-git] [openvswitch/ovs] 5074bf: tests: make as() function as documented

GitHub noreply at github.com
Fri Mar 18 23:58:36 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5074bfc4f42d7ffa3f09e0ceeef3f2f10dd97384
      https://github.com/openvswitch/ovs/commit/5074bfc4f42d7ffa3f09e0ceeef3f2f10dd97384
  Author: Lance Richardson <lrichard at redhat.com>
  Date:   2016-03-18 (Fri, 18 Mar 2016)

  Changed paths:
    M tests/ofproto-macros.at

  Log Message:
  -----------
  tests: make as() function as documented

As documented, the as() function should only create a subshell
to execute the provided command when a command is present. Correct
the implementation to check for the presence of the command parameter
instead of the sandbox name (which is always present in current
usage).

Signed-off-by: Lance Richardson <lrichard at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list