ktest: New TEST_START instead of using [], and use real SHA1s
authorSteven Rostedt <srostedt@redhat.com>
Tue, 2 Nov 2010 19:13:54 +0000 (15:13 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 18 Nov 2010 16:23:09 +0000 (11:23 -0500)
commita57419b366a20009c9363c3cdad2449dc2fa8b9c
treef91037997c9d7ca0ca3a2b2ec7a0804eab8eb754
parent576f627c817dff0b7081374287a77247325b9cc0
ktest: New TEST_START instead of using [], and use real SHA1s

Change the config to use TEST_START where the options after a
TEST_START automatically get the [] as it is read and they do
not need to exist in the config file;

TEST_START
MIN_CONFIG = myconfig

is the same as

MIN_CONFIG[1] = myconfig

The benefit is that you no longer need to keep track of test numbers
with tests.

Also process the commit ids that are passed to the options
to get the actually SHA1 so it is no longer relative to the branch.
Ie, saying HEAD will get the current SHA1 and then that will
be used, and will work even if another branch is checked out.

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