ktest: Add helper function to avoid duplicate code
authorSteven Rostedt <srostedt@redhat.com>
Wed, 15 Jun 2011 00:49:13 +0000 (20:49 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 15 Jun 2011 00:49:13 +0000 (20:49 -0400)
Several places had the following code:

    get_grub_index;
    get_version;
    install;

    start_monitor;
    return monitor;

Creating a function "start_monitor_and_boot()" replaces these mulitple
uses with a single call.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found