We don't want to pass -n to autoserv for host-specific tasks (verify, repair, re
boot), so that the output can get to the host log.
Signed-off-by: Steve Howard <showard@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1282 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/scheduler/monitor_db b/scheduler/monitor_db
index b2db1a1..e48052e 100755
--- a/scheduler/monitor_db
+++ b/scheduler/monitor_db
@@ -492,7 +492,7 @@
class RepairTask(AgentTask):
def __init__(self, host):
- cmd = [_autoserv_path ,'-n', '-R', '-m', host.hostname]
+ cmd = [_autoserv_path , '-R', '-m', host.hostname]
self.host = host
AgentTask.__init__(self, cmd, clear_queue_on_failure=False)
@@ -519,7 +519,7 @@
self.queue_entry = queue_entry
self.temp_results_dir = tempfile.mkdtemp(suffix='.verify')
- cmd = [_autoserv_path,'-n', '-v','-m',self.host.hostname,
+ cmd = [_autoserv_path,'-v','-m',self.host.hostname,
'-r', self.temp_results_dir]
failure_tasks = self.get_failure_tasks()
@@ -715,7 +715,7 @@
class RebootTask(AgentTask):
def __init__(self):
AgentTask.__init__(self, host)
- self.cmd = "%s -n -b -m %s /dev/null" % (_autoserv_path, host)
+ self.cmd = "%s -b -m %s /dev/null" % (_autoserv_path, host)
self.host = host