ktest: Consolidate TEST_TYPE and DEFAULT code
authorSteven Rostedt <srostedt@redhat.com>
Sat, 1 Oct 2011 01:10:30 +0000 (21:10 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 17 Oct 2011 15:54:11 +0000 (11:54 -0400)
commit0050b6bbef01d871a34a77685047190aa428b210
treead29cc14fd37a7aa9dd08737020a604a1cae6fd6
parent2ed3b16128e93309758e62937e7f137ac9844227
ktest: Consolidate TEST_TYPE and DEFAULT code

The code that handles parsing the TEST_TYPE and DEFAULT code share
a lot of common functionality. Combine the two and add a if statement
that does what is different between them.

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