You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/02/13 07:02:19 UTC

stratos git commit: Removing chmod +x in PCA live test

Repository: stratos
Updated Branches:
  refs/heads/master ed2d2cca1 -> 82a436708


Removing chmod +x <extension.sh> in PCA live test


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/82a43670
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/82a43670
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/82a43670

Branch: refs/heads/master
Commit: 82a43670881b9d20006c4265855d608dc18dcede
Parents: ed2d2cc
Author: Imesh Gunaratne <im...@apache.org>
Authored: Fri Feb 13 11:32:10 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Fri Feb 13 11:32:10 2015 +0530

----------------------------------------------------------------------
 .../python.cartridge.agent/test/PythonCartridgeAgentTest.java   | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/82a43670/components/org.apache.stratos.python.cartridge.agent/src/test/java/org/apache/stratos/python.cartridge.agent/test/PythonCartridgeAgentTest.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.python.cartridge.agent/src/test/java/org/apache/stratos/python.cartridge.agent/test/PythonCartridgeAgentTest.java b/components/org.apache.stratos.python.cartridge.agent/src/test/java/org/apache/stratos/python.cartridge.agent/test/PythonCartridgeAgentTest.java
index e62221a..021a82c 100644
--- a/components/org.apache.stratos.python.cartridge.agent/src/test/java/org/apache/stratos/python.cartridge.agent/test/PythonCartridgeAgentTest.java
+++ b/components/org.apache.stratos.python.cartridge.agent/src/test/java/org/apache/stratos/python.cartridge.agent/test/PythonCartridgeAgentTest.java
@@ -304,11 +304,6 @@ public class PythonCartridgeAgentTest {
             String destAgentPath = getResourcesFolderPath() + "/../" + UUID.randomUUID() + "/cartridge.agent";
             FileUtils.copyDirectory(new File(srcAgentPath), new File(destAgentPath));
 
-            List<File> extensionFiles = (List<File>) FileUtils.listFiles(new File(srcAgentPath + "/extensions"), new String[]{"sh"}, false);
-            for (File extensionFile : extensionFiles) {
-                executeCommand("chmod +x " + extensionFile.getAbsolutePath());
-            }
-
             String srcAgentConfPath = getResourcesFolderPath() + "/agent.conf";
             String destAgentConfPath = destAgentPath + "/agent.conf";
             FileUtils.copyFile(new File(srcAgentConfPath), new File(destAgentConfPath));