[ovs-git] [openvswitch/ovs] 9ba56e: test: Reverse the order of commands added by ON_EX...

GitHub noreply at github.com
Mon Feb 9 21:18:13 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 9ba56eda545bebc1604f189d9eb51187647f7acf
      https://github.com/openvswitch/ovs/commit/9ba56eda545bebc1604f189d9eb51187647f7acf
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
    M tests/ovs-macros.at

  Log Message:
  -----------
  test: Reverse the order of commands added by ON_EXIT macro

Executing clean-up commands in the reverse order of their addition
seems to be better for most of the cleanup situations. For example,
in kmod tests, we should remove name spaces before remove kernel
modules.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.comugi


  Commit: 9f33d4428c6fe1ab5670f3116c53eb00646f0f9a
      https://github.com/openvswitch/ovs/commit/9f33d4428c6fe1ab5670f3116c53eb00646f0f9a
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
    M tests/kmod-macros.at
    M tests/kmod-traffic.at

  Log Message:
  -----------
  test: Hide the name space clean up inside ADD_NAMESPACE macro

To reduce the complexity of writing kmod tests.

Suggested-by: Joe Stringer <joestringer at nicira.com>
Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.comugi


Compare: https://github.com/openvswitch/ovs/compare/029ca940d7c5...9f33d4428c6f


More information about the git mailing list