get_boot_id to return None when not supported by the kernel.
Signed-off-by: Josh Gilkerson <[email protected]>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4566 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/abstract_ssh.py b/server/hosts/abstract_ssh.py
index 1e26496..e760ee5 100644
--- a/server/hosts/abstract_ssh.py
+++ b/server/hosts/abstract_ssh.py
@@ -444,6 +444,8 @@
@returns True if the host was found to be down, False otherwise
"""
+ #TODO: there is currently no way to distinguish between knowing
+ #TODO: boot_id was unsupported and not knowing the boot_id.
current_time = time.time()
if timeout:
end_time = current_time + timeout