Sören Tempel
767e700a5f
clif: After incrementing pos, make sure it is still in bounds
...
While the for-loop condition does contain a bounds check, the pointer is
independently increment in the for-loop body. This increment therefore
requires a separate bounds check. Otherwise, the parsing loop may access
data outside the given buffer boundaries.
2021-02-08 11:29:44 +01:00
Cenk Gündoğan
6ef29d9b53
tests: uri_parser: new test to check empty host
2021-02-05 13:32:49 +01:00
Sören Tempel
333572e091
uri_parser: check if uri is long enough to even contain a ://
...
Before attempting to access these characters. This fixes an
out-of-bounds read on the provided URI buffer.
2021-02-04 20:08:26 +01:00
Leandro Lanzieri
f0762c5114
tests: check Kconfig before setting CFLAGS for shell configs
2021-02-04 12:46:26 +01:00
Leandro Lanzieri
67f36d78a9
sys/shell: document configs and add to Kconfig
2021-02-04 09:19:43 +01:00
Marian Buschsieweke
f685996cd0
Merge pull request #15405 from benpicco/boards/bluepill-stm32f030c8t6
...
boards/bluepill-stm32f030c8: add STM32F030C8 based bluepill board
2021-02-03 07:45:14 +01:00
Benjamin Valentin
d3ca85ad65
tests: add bluepill-stm32f030c8 to Makefile.ci
2021-02-02 23:47:40 +01:00
Marian Buschsieweke
e0f457663c
Merge pull request #15901 from OTAkeys/pr/ztimer_rmutex_lock_timeout
...
ztimer: add ztimer_rmutex_lock_timeout()
2021-02-02 20:47:53 +01:00
Vincent Dupont
fb4d2e509a
ztimer: add ztimer_rmutex_lock_timeout()
...
Similar to xtimer_rmutex_lock_timeout()
2021-02-02 10:51:50 +01:00
Koen Zandberg
f5b6ebf1cb
unittests/flashpage: force uniform flashpage layout
...
The unittest for flashpage only checks the inline flashpage_ functions
with the assumption that the flashpage layout is uniform. This commit
undefines the macro guarding those functions to force them to be
included even when the flashpage peripheral defines own implementations.
2021-02-01 18:23:05 +01:00
Koen Zandberg
2bcddba5ca
tests/periph_flashpage: Make FLASHPAGE_SIZE optional
2021-02-01 17:22:07 +01:00
Francisco
0903952564
Merge pull request #15880 from aabadie/pr/tests/_nrf51dk_timeout_fixes
...
tests: increase timeout for nrf51dk
2021-02-01 11:05:17 +01:00
benpicco
a61edaa32a
Merge pull request #15874 from btcven/2021_01_27-ieee802154-submac
...
tests/ieee802154_submac: check netdev_driver_t::recv return value
2021-01-29 21:30:06 +01:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
...
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
Alexandre Abadie
4443b23348
tests/suit_manifest: increase timeout for nrf51dk
2021-01-28 13:41:15 +01:00
Alexandre Abadie
54dcd04105
tests/pkg_wolfssl: increase timeout for nrf51dk
2021-01-28 13:41:05 +01:00
Alexandre Abadie
6edb3a9e1b
tests/pkg_wolfcrypt-ed25519-verify: increase timeout for nrf51dk
2021-01-28 13:40:54 +01:00
Alexandre Abadie
dfa10efef4
tests/pkg_libcose: increase test timeout for nrf51dk
2021-01-28 13:40:24 +01:00
Benjamin Valentin
d20a570f43
tests/mtd_raw: fix auto-test for memory that erases to 0
2021-01-28 11:51:28 +01:00
Benjamin Valentin
e6763b9b68
tests/mtd_raw: fix initial size output
2021-01-28 11:51:28 +01:00
Benjamin Valentin
ebe4fc0bc1
tests/mtd_raw: include mtd_write_page() in test
2021-01-28 11:51:28 +01:00
Benjamin Valentin
c569d9a1d9
drivers: add MTD_DRIVER_FLAG_DIRECT_WRITE to mtd drivers
...
- EEPROMs don't need read-modify-write cylce
- SD cards will handle read-modify-write internally
2021-01-28 11:51:28 +01:00
Alexandre Abadie
999849fac4
tests/driver_bq2429x: move test to test-with-config
2021-01-28 09:17:39 +01:00
Jean Pierre Dudey
bb65b3b0af
tests/ieee802154_submac: check netdev_driver_t::recv return value
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-27 22:52:21 +01:00
Alexandre Abadie
550be21cfc
Merge pull request #15868 from aabadie/pr/pkg/libfixmath_nump_version
...
pkg/libfixmath: bump version to latest master
2021-01-27 17:56:39 +01:00
Alexandre Abadie
543b26c7ab
tests/pkg_libfixmath_unittests: exclude new small boards
2021-01-27 16:58:47 +01:00
Francisco
dc801b9dde
Merge pull request #15817 from leandrolanzieri/pr/kconfig/sys_crypto
...
sys/{crypto, hashes, random}: add modules to Kconfig
2021-01-27 10:20:11 +01:00
benpicco
98726ded6d
Merge pull request #14662 from benpicco/cpu/samd20
...
cpu/samd21: add support for SAMD20 & SAM D20 Xplained Pro board
2021-01-26 19:14:36 +01:00
Leandro Lanzieri
589904e6e8
tests: add crypto and prng kconfig configurations
2021-01-26 17:50:20 +01:00
Martine S. Lenders
e1925cac85
tests/gnrc_ipv6_ext_frag: fetch Interface IDs dynamically
...
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2021-01-26 15:25:22 +01:00
Benjamin Valentin
60eb75da3c
mtd: rename mtd_write_page() -> mtd_write_page_raw()
...
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
d8918c24fa
socket_zep: register with netdev
2021-01-25 22:59:01 +01:00
Alexandre Abadie
d0f3cefc7e
tests/driver_apds99xx*: move to test-with-config
2021-01-25 21:10:08 +01:00
Alexandre Abadie
f8fb26835c
tests/driver_si1133: move to test-with-config
2021-01-25 21:10:08 +01:00
Alexandre Abadie
5ec41f35c7
tests/driver_bme680: move to test-with-config
...
If the configuration is correct, the test should succeed, so the test script is adapted
2021-01-25 21:10:08 +01:00
Alexandre Abadie
5e43172c87
tests/driver_ds3231: move to test-with-config
2021-01-25 21:10:08 +01:00
Alexandre Abadie
76e186571b
tests: fix auto use of interactive sync module
2021-01-25 21:10:08 +01:00
Alexandre Abadie
ffa28ef731
tests/gnrc_sock_dns: move to test-with-config
2021-01-25 21:10:08 +01:00
Alexandre Abadie
aeadbfc80d
tests/driver_my9221: move to test-with-config
2021-01-25 21:10:08 +01:00
Alexandre Abadie
d0a3f3090b
tests/driver_grove_ledbar: move to test-with-config
2021-01-25 21:10:08 +01:00
Alexandre Abadie
60c8e027d0
tests/driver_hd44780: move to test-with-config
2021-01-25 21:10:08 +01:00
Alexandre Abadie
16652e83f1
tests/driver_ds1307: move to test-with-config
2021-01-25 21:10:07 +01:00
Alexandre Abadie
e071444af7
tests/driver_at86rf2xx_aes: move to test-with-config
2021-01-25 21:10:07 +01:00
Alexandre Abadie
239e7cadfb
tests/gnrc_*: move to tests-as-root
2021-01-25 21:10:07 +01:00
Alexandre Abadie
9821835e28
tests/emcute: move to tests-as-root
2021-01-25 21:10:07 +01:00
Alexandre Abadie
072718b04b
examples: tests: move lorawan examples to tests-with-config
2021-01-25 21:10:06 +01:00
Gaëtan Harter
80b9290bb1
tests/pkg_fatfs_vfs: declare test as test-with-config
...
For running the test on boards, it needs a manual setup.
This however declares the "native" test as requiring config too.
No need to be blacklisted when using test-with-config.
2021-01-25 21:10:06 +01:00
Gaëtan Harter
54c4536945
tests: add 'test-as-root' and 'test-with-config' targets
...
These targets cannot be used in an automated testing workflow without
complex configuration or extend rights.
- Add new 'test-as-root' target for tests that require to be root or
start an external daemon as root
- Add new 'test-with-config' target for tests that require a specific
configuration to succeed (module configuration or hardware
configuration)
2021-01-25 21:10:06 +01:00
benpicco
83201ddb00
Merge pull request #15760 from maribu/sock-aux-rssi
...
sys/net/sock: add sock_aux_rssi
2021-01-25 18:51:11 +01:00
Marian Buschsieweke
4c91ac1afd
tests/sock_udp_aux: new test application
2021-01-25 15:50:24 +01:00