summaryrefslogtreecommitdiffstats
path: root/test/exec_test.go
AgeCommit message (Collapse)AuthorFilesLines
2018-10-24testify: assert replace by requireClément Bénier1-16/+16
require handles tests to be aborted during an assertion contrary to assert Change-Id: I3062046515c74509ae7ea1b24b7242a42d0191c1 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-10-24testExec: error exec with a fakeidClément Bénier1-2/+12
add an assert when exec with a fakeid Change-Id: I56b9e3372c31f7941e705a40d40d72a1b31ca679 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-10-22Fix testsSebastien Douheret1-17/+28
Change-Id: I9b8dbe26bfe6d1d32cbce09a89b7d0f47d7ef4b5 Signed-off-by: Sebastien Douheret <sebastien.douheret@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-21test logs: hide logClément Bénier1-4/+4
logs are printable with VERBOSE != "" Change-Id: I170aed2e73db673ba6276410b1dddd3389239457 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21tests: add comments and logsClément Bénier1-4/+20
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/+23
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énier1-36/+20
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 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énier1-4/+0
Change-Id: Iffc7370c52457e6d90e88e30c95b37ae3c60bce3 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>