test: Reverse the order of commands added by ON_EXIT macro
authorAndy Zhou <azhou@nicira.com>
Sat, 7 Feb 2015 00:14:10 +0000 (16:14 -0800)
committerAndy Zhou <azhou@nicira.com>
Mon, 9 Feb 2015 20:54:21 +0000 (12:54 -0800)
commit9ba56eda545bebc1604f189d9eb51187647f7acf
tree7a43e281f5e8098c9d37d88ee6598d892ac2847b
parent029ca940d7c552e23f0312095e21add06015a1f8
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@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.comugi
tests/ovs-macros.at