| commit | ddf607e5f853ae172e81e6051e1e12e24ea8a3c6 | [log] [tgz] |
|---|---|---|
| author | Steven Rostedt <srostedt@redhat.com> | Tue Jun 14 20:49:13 2011 -0400 |
| committer | Steven Rostedt <rostedt@goodmis.org> | Tue Jun 14 20:49:13 2011 -0400 |
| tree | 15936c96b598c0c4ed5d8411489adcb7bfc95aa0 | |
| parent | 1990207d538885e678f374e3e79f454c2e6c7383 [diff] |
ktest: Add helper function to avoid duplicate code
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>