Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357695
b: refs/heads/master
c: d684553
h: refs/heads/master
i:
  357693: a13f280
  357691: 99a2205
  357687: a044af0
  357679: bd081fc
  357663: 957b55c
  357631: 3c4188a
v: v3
  • Loading branch information
Steven Rostedt (Red Hat) committed Feb 5, 2013
1 parent 378bde3 commit 6ac90d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4283b169abfb0380850b56287ee644697ecf321a
refs/heads/master: d6845536236a72382a20483887943a599d7c2b69
7 changes: 6 additions & 1 deletion trunk/tools/testing/ktest/ktest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1212,11 +1212,16 @@ sub reboot {
}

if (defined($time)) {
if (wait_for_monitor($time, $reboot_success_line)) {
# Look for the good kernel to boot
if (wait_for_monitor($time, "Linux version")) {
# reboot got stuck?
doprint "Reboot did not finish. Forcing power cycle\n";
run_command "$power_cycle";
}

# Still need to wait for the reboot to finish
wait_for_monitor($time, $reboot_success_line);

end_monitor;
}
}
Expand Down

0 comments on commit 6ac90d6

Please sign in to comment.