ktest: Add PRE/POST_KTEST and TEST options
commit921ed4c7208e5c466a87db0a11c6fdd26bcc2fe7
authorSteven Rostedt <srostedt@redhat.com>
Thu, 19 Jul 2012 19:18:27 +0000 (19 15:18 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 19 Jul 2012 19:18:27 +0000 (19 15:18 -0400)
tree58245d96a213b292ad100f03cdec6dc3642681b9
parent958d8435c257f93123dec83647130457816a23e6
ktest: Add PRE/POST_KTEST and TEST options

In order to let the user add commands before and after ktest runs, the
PRE_KTEST and POST_KTEST options are defined. They hold shell commands
that will execute befor ktest runs its first test, as well as when it
completed its last test.

The PRE_TEST and POST_TEST will be run befor and after (respectively)
for a given test. They can either be global (done for all tests) or
defined by a single test.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl
tools/testing/ktest/sample.conf