diff options
Diffstat (limited to 'vnf-sdk-function-test')
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 ..."; |