1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Leandro Lanzieri
fe2d239a0c
tests/vfs_plus_stdio: add Kconfig configuration 2021-11-29 10:33:56 +01:00
05fbeb65b1
tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
Martine S. Lenders
13d5f6e6b4
tests: provide test for vfs+fmt corner-case
On `native` when using `vfs` the `fmt` print functions do not work.
This is because the `fmt` module uses the `write()` system call which
is bend by the `native_vfs` module to use `vfs_write()`. However,
`native` does not use a `stdio` module to print. Instead, it just
writes to the hosts standard I/O directly. As such, STDIN, STDOUT, and
STDERR are never initialized for `vfs` so `vfs` does not recognize
`STDIN_FILENO`, `STDOUT_FILENO` and `STDERR_FILENO` as valid file
descriptors.

This test case showcases this bug.
2019-12-18 14:15:40 +01:00