ktest: Have POST_TEST run after the test has totally completed
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 7 Feb 2017 16:49:21 +0000 (11:49 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 7 Feb 2017 16:49:21 +0000 (11:49 -0500)
commit2e07c9f55ecabdf78746b9808fec6ab549a07f8a
treeee5bc330d98f1296ff61b819b6334538c85e794d
parent69973b830859bc6529a7a0468ba0d80ee5117826
ktest: Have POST_TEST run after the test has totally completed

The POST_TEST config is to be executed after a test has fully compeleted,
whether the test passed or failed. It currently is executed at the moment
that the test has been decided if it failed or not. As the test does other
clean ups, it isn't truly finished. Move the POST_TEST execution to after
all the test cleanups have been done.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl