summaryrefslogtreecommitdiffstats
path: root/test/target_test.go
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énier1-83/+180
- 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 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énier1-18/+18
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énier1-2/+25
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énier1-2/+11
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 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-21tests: better handle websocket clientClément Bénier1-5/+2
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>