1sample:
2  description: Extended POSIX (Linux) API eventfd() example
3  name: eventfd
4common:
5  filter: TOOLCHAIN_HAS_NEWLIB == 1
6  tags: posix
7  platform_exclude: m2gl025_miv
8  integration_platforms:
9    - mps2_an385
10tests:
11  sample.posix.eventfd:
12    min_ram: 32
13    tags: posix
14    harness: console
15    harness_config:
16      type: multi_line
17      ordered: true
18      regex:
19        - "Writing 1 to efd"
20        - "Writing 2 to efd"
21        - "Writing 3 to efd"
22        - "Writing 4 to efd"
23        - "Completed write loop"
24        - "About to read"
25        - "Read 10 \\(0xa\\) from efd"
26        - "Finished"
27