path: root/tools/testing/ktest/compare-ktest-sample.pl
diff options
authorSteven Rostedt <srostedt@redhat.com>2011-12-22 21:37:22 -0500
committerSteven Rostedt <rostedt@goodmis.org>2011-12-22 22:02:35 -0500
commit9cc9e091ed4c70535309dd9336a5ea5c2c5920aa (patch)
tree514c7d65b55f5cc3df3487bbc89a79dc35d1fd24 /tools/testing/ktest/compare-ktest-sample.pl
parentktest: Have all values be set by defaults (diff)
ktest: Detect typos in option names
It becomes quite annoying when you go to run a test and then realize that you typed an option name wrong, and the test starts doing the default action and not what you expected it to do. It is even more annoying when you wake up the next day after running the test over night when you discover this. By testing if all options specified in a config file are used by either ktest or were used in one of the option's values we can see if there are any dangling options that were not used. In such a case, show the user the options that were not used and ask them if they want to continue or not. The option IGNORE_UNUSED was also added to allow the user to override this feature. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/compare-ktest-sample.pl')
0 files changed, 0 insertions, 0 deletions