linux-stable/tools/testing/ktest
John 'Warthog9' Hawley (VMware) 6a0f365295 ktest: Re-arrange the code blocks for better discoverability
Perl, as with most scripting languages, is fairly flexible in how /
where you can define things, and it will (for the most part) do what you
would expect it to do.  This however can lead to situations, like with
ktest, where things get muddled over time.

This pushes the variable definitions back up to the top, followed by
functions, with the main script executables down at the bottom, INSTEAD
of being somewhat mish-mashed together in certain places.  This mostly
has the advantage of making it more obvious where things are initially
defined, what functions are there, and ACTUALLY where the main script
starts executing, and should make this a little more approachable.

Signed-off-by: John 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2021-05-03 18:57:03 -04:00
..
examples ktest: Add example config for using VMware VMs 2021-05-03 18:57:02 -04:00
compare-ktest-sample.pl tweewide: Fix most Shebang lines 2020-12-08 23:30:04 +09:00
config-bisect.pl ktest: Fix some typos in config-bisect.pl 2019-07-24 15:37:18 -04:00
ktest.pl ktest: Re-arrange the code blocks for better discoverability 2021-05-03 18:57:03 -04:00
sample.conf ktest.pl: Add MAIL_MAX_SIZE to limit the amount of log emailed 2020-07-02 09:55:04 -04:00