Fix up the reboot logging so that the starts of hardresets are logged
properly, failed soft reboots are logged properly, and a little extra
detail is attached to failure messages to make it easier to determine
exactly what failed.

This also fixes up "reboot over ssh" commands to make sure that all
the associated file descriptors are closed.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@930 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed