[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jun 29 16:18:57 CDT 2011


branch "review" has been updated
       via  b56ff0b18f0d1b218300bdb58116e7c1fcf582cc (commit)
      from  8201f67cb01b75b45b4c311ea57757c0d0527cac (commit)

Summary of changes:
 remote.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit b56ff0b18f0d1b218300bdb58116e7c1fcf582cc
Author: Darren Sessions <dsessions at digium.com>
Date:   Wed Jun 29 16:18:52 2011 -0500

    fixed a path issue introduced in a previous commit that changes the output directory for the console log messages.

diff --git a/remote.py b/remote.py
index 814aa85..5f6219e 100755
--- a/remote.py
+++ b/remote.py
@@ -368,7 +368,7 @@ class RemoteManagement(object):
         if not os.path.exists('%s/tmp/artifacts/%s' % (cwd, globalVars['testInfo']['testPath'])):
             return {'success':False,'msg':'[run] Unable to create artifact test path on remotes. %s' % globalVars['testInfo']['testPath']}
         try:
-            logArtifactFile = open('%s/tmp/artifacts/%s/%s.%s_%s_console.log' % (cwd, globalVars['testInfo']['testPath'], hostName, self._artifactNameCheck(plugin), self._artifactNameCheck(label)), 'w')
+            logArtifactFile = open('%s/tmp/artifacts/%s/console_logs/%s.%s_%s_console.log' % (cwd, globalVars['testInfo']['testPath'], hostName, self._artifactNameCheck(plugin), self._artifactNameCheck(label)), 'w')
         except:
             return {'success':False,'msg':"[consoleLogging] Unable to open '%s/tmp/artifacts/%s/console_logs/%s.%s_%s_console.log' for writing. %s" % (cwd, globalVars['testInfo']['testPath'], hostName, plugin, label, sys.exc_info()[1])}
         return {'success':True,'logArtifactFile':logArtifactFile}

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list