Add a new exception for installation failures.
Change wait_for_restart to be public function.
Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1110 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/common_lib/error.py b/client/common_lib/error.py
index a26383d..a878a28 100644
--- a/client/common_lib/error.py
+++ b/client/common_lib/error.py
@@ -48,6 +48,9 @@
msg = prefix + format_error()
TestError.__init__(self, msg)
+class InstallError(JobError):
+ """Indicates an installation error which Terminates and fails the job."""
+ pass
# server-specific errors