Gerard Marull-Paretas
5899b8a190
tests: net: remove usage of device_pm_control_nop
...
device_pm_control_nop is now deprecated in favour of NULL.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-04-28 12:53:09 -04:00
Robert Lubos
71532eb8c2
tests: net: sockets: Implement SO_BINDTODEVICE option tests
...
Add tests for SO_BINDTODEVCIE socket option.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2021-04-02 07:23:17 -04:00
Kumar Gala
a1b77fd589
zephyr: replace zephyr integer types with C99 types
...
git grep -l 'u\(8\|16\|32\|64\)_t' | \
xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g"
git grep -l 's\(8\|16\|32\|64\)_t' | \
xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g"
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-06-08 08:23:57 -05:00
Paul Sokolovsky
b2bfcc27b9
tests: socket: misc: Add tests for inet_pton()
...
Basic testcases for accepting correct input and rejecting invalid.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-05-07 08:30:32 +03:00
Andrew Boie
ce6b80470d
net: add missing syscall for gethostname()
...
We need all the socket APIs to work from user mode.
tests/net/socket/misc now runs in userspace.
Fixes : #15227
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-04-06 14:30:42 -04:00
Paul Sokolovsky
36e437f537
tests: socket: misc: Add test for gethostname()
...
Just a basic test.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-02-08 10:39:30 +02:00