OSDN Git Service

ktest: Add MIN_CONFIG_TYPE to allow making a minum .config that has network
authorSteven Rostedt <srostedt@redhat.com>
Mon, 21 May 2012 21:13:40 +0000 (17:13 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 21 May 2012 21:13:40 +0000 (17:13 -0400)
commitccc513b688e1f409c03cfaa7117cda778331f6fb
tree9a3e553d7734f050dfe7ac981980ae51fd61c9b0
parent683a3e6481a5cffc58496a590decf65909d0454b
ktest: Add MIN_CONFIG_TYPE to allow making a minum .config that has network

Add a MIN_CONFIG_TYPE that can be set to 'test' or 'boot'. The default
is 'boot' which is what make_min_config has done previously: makes a
config file that is the minimum needed to boot the target.

But when MIN_CONFIG_TYPE is set to 'test', not only must the target
boot, but it must also successfully run the TEST. This allows the
creation of a config file that is the minimum to boot and also
perform ssh to the target, or anything else a developer wants.

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