Redirect output of remote ls command 'tests' to /dev/null
Now that we're logging the output of ssh commands, it's a bit noisy

Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1058 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/autotest.py b/server/autotest.py
index 81885f5..489940d 100644
--- a/server/autotest.py
+++ b/server/autotest.py
@@ -251,7 +251,7 @@
 	def verify_machine(self):
 		binary = os.path.join(self.autodir, 'bin/autotest')
 		try:
-			self.host.run('ls ' + binary)
+			self.host.run('ls %s > /dev/null' % binary)
 		except:
 			raise "Autotest does not appear to be installed"
 		tmpdir = os.path.join(self.autodir, 'tmp')
@@ -399,7 +399,8 @@
 		pass
 	for path in ['/usr/local/autotest', '/home/autotest']:
 		try:
-			host.run('ls ' + os.path.join(path, 'bin/autotest'))
+			host.run('ls %s > /dev/null' % \
+					 os.path.join(path, 'bin/autotest'))
 			return path
 		except AutoservRunError:
 			pass