summaryrefslogtreecommitdiffstats
path: root/distribution/standalone/src
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/standalone/src')
-rw-r--r--distribution/standalone/src/main/assembly/conf/robot/execute.robot17
-rw-r--r--distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json2
-rw-r--r--distribution/standalone/src/main/assembly/conf/robot/upload.robot15
3 files changed, 33 insertions, 1 deletions
diff --git a/distribution/standalone/src/main/assembly/conf/robot/execute.robot b/distribution/standalone/src/main/assembly/conf/robot/execute.robot
new file mode 100644
index 0000000..2b6261c
--- /dev/null
+++ b/distribution/standalone/src/main/assembly/conf/robot/execute.robot
@@ -0,0 +1,17 @@
+*** Settings ***
+Suite Teardown Close All Connections
+Library String
+Library OperatingSystem
+Library SSHLibrary
+Library BuiltIn
+
+*** Test Cases ***
+Copy Directory from Local to Remote
+ Open Connection ${NODE_IP}
+ Login ${NODE_USERNAME} ${NODE_PASSWORD}
+ ${CommandToExecute} = Execute Command ${REMOTE_COMMAND}
+ SSHLibrary.Get Directory ${DIR_REMOTE_RESULT} ${DIR_RESULT} recursive=True
+ Close All Connections
+
+
+
diff --git a/distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json b/distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json
index 2aa85b0..cc088da 100644
--- a/distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json
+++ b/distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json
@@ -1,6 +1,6 @@
{
"FRAMEWORK_TYPE": "robot",
"MAIN_SCRIPT": "main.robot",
- "DIR_RESULT": "D:\\Pitchi_docs\\remote\\",
+ "DIR_RESULT": "/home/functest/result/",
"DIR_REMOTE": "/home/root1/test/"
} \ No newline at end of file
diff --git a/distribution/standalone/src/main/assembly/conf/robot/upload.robot b/distribution/standalone/src/main/assembly/conf/robot/upload.robot
new file mode 100644
index 0000000..a034550
--- /dev/null
+++ b/distribution/standalone/src/main/assembly/conf/robot/upload.robot
@@ -0,0 +1,15 @@
+*** Settings ***
+Suite Teardown Close All Connections
+Library String
+Library OperatingSystem
+Library SSHLibrary
+Library BuiltIn
+
+*** Test Cases ***
+Copy Directory from Local to Remote
+ Open Connection ${NODE_IP}
+ Login ${NODE_USERNAME} ${NODE_PASSWORD}
+ SSHLibrary.Put Directory ${SCRIPT_DIR} ${DIR_REMOTE} 0777 CRLF recursive=True
+
+
+