Add support for checking and fixing disk space.
We check in the general case for diskspace on $AUTODIR
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@974 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index 104da58..f5a564e 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -649,6 +649,5 @@
rc = utils.system(fpingcmd, ignore_status = 1)
return (rc == 0)
-
- def ssh_ping(self):
- self.run('ls', timeout=30)
+ def ssh_ping(self, timeout = 30):
+ self.run('ls', timeout = timeout)