Anas Nashif
bc672895ba
tests: remove duplicate tests
...
Remove a few duplicates and avoid calling tests multiple times for
setup/teardown.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-05-07 12:27:07 -04:00
Anas Nashif
1f2627a638
tests: net: style, tag, and category fixes
...
Fix coding style, test tags and use categories.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-04-25 14:18:15 +05:30
Jukka Rissanen
4d16076efe
tests: net: websocket: Fix null at the end of string
...
We might access too long string when copying URL.
Coverity-CID: 183041
Fixes #6691
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-03-26 13:01:07 +03:00
Jukka Rissanen
6170ae5e2e
net: websocket: Use system provided base64 function
...
Instead of using mbedtls_base64, use system provided base64 encoding
function.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-03-23 08:30:26 -04:00
Jukka Rissanen
44eb83624f
tests: net: websocket: Fix null pointer dereference
...
Network packet cannot be NULL so no need to check its value.
Coverity-CID: 183063
Fixes #6669
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-03-20 12:19:13 -04:00
Jukka Rissanen
24da695ad9
tests: net: websocket: Fix buiding on qemu_xtensa
...
The net-shell must be turned off in order to build on xtensa.
Fixes #6635
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-03-16 08:48:42 -05:00
Kumar Gala
0fea45aa4f
samples/tests: net: websocket: Fix yaml files
...
The yaml files had a '-' before test: which was causing an error
relating to trying to load the yaml
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-03-15 16:29:01 -05:00
Kumar Gala
f303337fea
tests: net: websocket: exclude qemu_xtensa
...
We don't currently build on qemu_xtensa because completion is missing.
Seems like we have some dependency issue.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-03-15 16:29:01 -05:00
Kumar Gala
8b08f851d2
tests: net: websocket: Bump min ram to 46k
...
On most arm targets this looks like it needs at least 45-46k of memory.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-03-15 16:29:01 -05:00
Jukka Rissanen
4d4c7bf3ea
tests: net: websocket: Add tests for websocket
...
This tests websocket by creating a websocket support http server
and sending data to it and verifying the returned data is the same.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-03-15 15:17:36 +02:00