summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2018-08-24test target: launch user sshd for opening termflounder_5.99.6flounder_5.99.5flounder/5.99.6flounder/5.99.55.99.65.99.5Clément Bénier8-84/+357
- fixtures for user ssh server (authorized_keys, ssh, sshd_config, ssh_host_rsa_key, ssh.pub) - exec following cmd $ /usr/bin/sshd - D -f sshd_config -h ssh_host_rsa_key -o AuthorizedKeysFile=authorized_keys -p port - uncomment former terminal tests for open/close Change-Id: If1765c4860ef3a95f7a92f1f9652427828b98083 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test exec: waiting exit event after exec cmdsandbox/benierc/testClément Bénier1-16/+6
Change-Id: I355f9a55e9641ce60c787b8b02f84f35bccc8e67 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21main_test.go: explicit main test entryClément Bénier1-0/+0
Change-Id: I26e3e03f914b390cc84ba29160ec6e8cee07162f Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test xds-server: explicitly kill processClément Bénier1-1/+1
Change-Id: If28b332c51318ff264f247c7f52a5dc253c20a0f Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test target: disable terminals tests for nowClément Bénier1-72/+70
disable open/close and using terminals for now there is issues with ssh connections Change-Id: I90828896af60c5ffc0541cd0e5b34b5225c50ea7 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test logs: hide logClément Bénier7-52/+64
logs are printable with VERBOSE != "" Change-Id: I170aed2e73db673ba6276410b1dddd3389239457 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test target: open 1 terminal for connection errorsClément Bénier1-4/+19
before opening all terminals, open just one to check there is no ssh connection problems Change-Id: I700a00264a96480ac4656be6338e2d728f509627 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21tests: add comments and logsClément Bénier6-17/+91
Change-Id: I31ef0fa20a74f76b696ac9cb768fac18e2197ea5 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test exec/sdk: use sdk for building exec projectClément Bénier4-29/+102
source sdk before building helloworld project fix sdks misconfiguration and multiple sdk installs Change-Id: I019e6b6e2704737774e93f08fb79d2f4a84a12b9 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test exec: remove git2go and cloning afb-helloworldClément Bénier6-36/+233
replace it by fixtures in test/helloworld and copying repo to XDS_SERVER_ROOT_CFG_DIR and cloning app-templates repo into it Change-Id: I4f3d9cfae0f1b81bd7994e172235b1fbc25fd383 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test target: factorise testsClément Bénier1-75/+114
Change-Id: Ie03d2ae8be30180c1471ea4dfe7bc4cea4d01492
2018-08-21test target: listenning events for termsClément Bénier1-1/+60
Change-Id: Idbd8509b946b96b39d76bc0aede921c14a3481eb Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test target: update -> listen to eventsClément Bénier1-0/+35
Change-Id: I21026ea34566239a23c3d8bac39b888618169a4b Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test sdks: close channelsClément Bénier1-0/+2
Change-Id: Ibab87254b1ef39ff8bb6166a5ff160233b6533e0 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test exec: waiting for events and timeout while buildingClément Bénier1-2/+19
Change-Id: I4caf0dd3e59f920f602131638c58e11beb9f3e08 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21tests: better handle websocket clientClément Bénier4-79/+66
Change-Id: Iffc7370c52457e6d90e88e30c95b37ae3c60bce3 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test target: add test for target and terminalsClément Bénier1-0/+175
Change-Id: I3761debe4ffe8971a7e94a55136b5dc34a8c65c2 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test exec: add test for execClément Bénier1-0/+113
Change-Id: I505496ca3a8641c401b802faea7a467986a819c9 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21[test exec]: in progressClément Bénier1-9/+19
Change-Id: Ie8eb5b66ecffa7cdb87a79a1543d7b303332f190 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21functionnal test: install test install fake sdkClément Bénier4-13/+84
install a fake sdk and waiting for event to end the test Change-Id: I5c2125f32a1fb4a80f9b251174d15117eef26f9a Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21sdk_test: draft in progressClément Bénier4-23/+180
add tests for testing sdk - draft Change-Id: I81f2f4ff75d6256fd092afd5213ea4f3370fcc68 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21functionnal test: separate tests into filesClément Bénier4-186/+259
separate tests into files each file represent a entry in the XDS-SERVER API the created files are: - version - config - folders Change-Id: I32d24f5b277ab853f6c190a96433aca5b4fda1d5 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21functionnal test: update and add testsClément Bénier1-20/+120
- TestFolders: update - TestFoldersEmptyValues - TestFoldersPathMapConfig Change-Id: I04dcbcbe6d8fc80ed3ef2cabbcf5dfd2952d1635 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21functionnal test: initial commit for testsClément Bénier3-0/+231
Launch xds-server process and run test based on xds REST APIs. list of tests - version - config - folders(in progress) Change-Id: I4312c9ab067b2d6e157f8828c2fbe467ef187733 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2017-11-06Add Server UUID and use it build CmdID.Sebastien Douheret1-0/+7