aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorJohn 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net>2021-04-19 17:29:31 -0700
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-05-03 18:57:03 -0400
commit6a0f3652952c7bba83af66c115a311d4a2164ebb (patch)
tree4c24acdf4f492a9adf6129dd63a1b6142522d2d4 /virt
parentktest: Further consistency cleanups (diff)
downloadlinux-dev-6a0f3652952c7bba83af66c115a311d4a2164ebb.tar.xz
linux-dev-6a0f3652952c7bba83af66c115a311d4a2164ebb.zip
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions