summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* add space after Content-Length and Content-TypeOpenGnSys Support Team2020-01-288-34/+34
| | | | ogAdmServer needs this space to work fine.
* Add /refresh testRoberto Hueso Gómez2020-01-211-0/+43
| | | | This test covers a correct request.
* Fix /software command Linux operationRoberto Hueso Gómez2020-01-211-1/+2
| | | | | This patch runs the script InventarioSoftware with the right arguments. This also increases the recv buffer size for the test server.
* Add /software testRoberto Hueso Gómez2020-01-211-0/+38
| | | | This test covers a correct request.
* Fix /shell/run commands splittingRoberto Hueso Gómez2020-01-211-1/+1
| | | | This patch splits shell commands either with ';' or '\n'.
* Add /hardware testsRoberto Hueso Gómez2020-01-211-0/+32
| | | | This tests covers a correct request.
* Add test for /run/scheduleRoberto Hueso Gómez2020-01-191-0/+28
| | | | This test covers a correct request.
* Add test for non-existent functionRoberto Hueso Gómez2020-01-191-0/+33
|
* Add test for sequential /shell/run requestsRoberto Hueso Gómez2020-01-191-2/+25
| | | | | | This also fixes test bugs in the cases: - Malformed json - No json
* Add /probe tests for multiple probes and extra parameter in jsonRoberto Hueso Gómez2020-01-191-3/+32
|
* Remove unnecessary variables from test serverRoberto Hueso Gómez2020-01-191-3/+0
|
* Include License headerAlvaro Neira Ayuso2020-01-196-1/+47
|
* Add /shell/run testsRoberto Hueso Gómez2020-01-191-0/+65
| | | | | | | | These tests cover: - Correct request with echo - Correct request without echo - No json request - Malformed json request
* Add /probe testsRoberto Hueso Gómez2020-01-191-0/+42
| | | | | | | These tests cover: - Correct request - No json request - Malformed json request
* Add unit testing basic structureRoberto Hueso Gómez2020-01-194-0/+66