summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMurali-P <murali.p@huawei.com>2017-04-21 18:47:18 +0530
committerMurali-P <murali.p@huawei.com>2017-04-21 18:47:18 +0530
commitd81b728f5bb79ad19934e1605e57962bf3affbc4 (patch)
tree9ddf2ac147c926e9a3fc32759a922cf1d6120543
parentee2e1f33b8c7222f7ed329b37e35240e196e0f4e (diff)
Blank Space matters
Resolved:VNFSDK-21 VNF SDK function test Change-Id: I1fdbe5d2004d9d7db33a776747dd80ac850fcc38 Signed-off-by: Murali-P <murali.p@huawei.com>
-rw-r--r--vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/TaskExecution.java4
-rw-r--r--vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/constants/ApplicationConstants.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/TaskExecution.java b/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/TaskExecution.java
index 4b6c33d..8e3300e 100644
--- a/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/TaskExecution.java
+++ b/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/TaskExecution.java
@@ -256,9 +256,9 @@ public class TaskExecution {
private String getShellArg() {
- String commandArg = "/c ";
+ String commandArg = "/c";
if(SystemUtils.IS_OS_LINUX) {
- commandArg = "-c ";
+ commandArg = "-c";
}
return commandArg;
diff --git a/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/constants/ApplicationConstants.java b/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/constants/ApplicationConstants.java
index ff16220..d3658a9 100644
--- a/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/constants/ApplicationConstants.java
+++ b/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/constants/ApplicationConstants.java
@@ -40,9 +40,9 @@ public class ApplicationConstants {
public static final String MAIN_SCRIPT = "MAIN_SCRIPT";
- public static final String SHELL_COMMAND = "cmd.exe ";
+ public static final String SHELL_COMMAND = "cmd.exe";
- public static final String SHELL_COMMAND_BASH = "/bin/bash ";
+ public static final String SHELL_COMMAND_BASH = "/bin/bash";
public static final String CHARACTER = "character ...";