From 5707568352ef633da5e895e1ccdde7df3b64f29f Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 13 May 2008 01:27:38 +0000 Subject: [PATCH] update logging --- qaapi/qa/tests/vserver_create.py | 6 +++--- qaapi/qa/tests/vserver_delete.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/qaapi/qa/tests/vserver_create.py b/qaapi/qa/tests/vserver_create.py index 931f459..2920c51 100644 --- a/qaapi/qa/tests/vserver_create.py +++ b/qaapi/qa/tests/vserver_create.py @@ -13,14 +13,14 @@ class vserver_create(Test): if self.config.verbose: - utils.header("Creating vserver: %(name)s" % locals()) + utils.header("Creating vserver: %(name)s" % locals(), logfile = self.config.logfile) # Create vserver vcreate_script = self.config.vserver_scripts_path + 'vtest-nightly.sh' command = "%(vcreate_script)s -b %(name)s -f %(fcdistro)s -m %(mailto)s -w /tmp/" % locals() - (status, output) = utils.commands(command) + (status, output) = utils.commands(command, logfile = self.config.logfile) # Start vserver command = "vserver %(name)s start" % locals() - (status, output) = utils.commands(command) + (status, output) = utils.commands(command, logfile = self.config.logfile) return 1 diff --git a/qaapi/qa/tests/vserver_delete.py b/qaapi/qa/tests/vserver_delete.py index 344ec63..655ce43 100644 --- a/qaapi/qa/tests/vserver_delete.py +++ b/qaapi/qa/tests/vserver_delete.py @@ -9,8 +9,8 @@ class vserver_delete(Test): """ def call(self, name): - (status, output) = utils.commands("vserver %(name)s stop" % locals(), False) - (status, output) = utils.commands("vserver %(name)s delete" % locals()) + (status, output) = utils.commands("vserver %(name)s stop" % locals(), False, logfile = self.config.logfile) + (status, output) = utils.commands("vserver %(name)s delete" % locals(), logfile = self.config.logfile) return 1 -- 2.47.0