diff --git a/samples/posix/eventfd/sample.yaml b/samples/posix/eventfd/sample.yaml index 50836e5b99a..80c8c7cb02c 100644 --- a/samples/posix/eventfd/sample.yaml +++ b/samples/posix/eventfd/sample.yaml @@ -8,3 +8,16 @@ common: tests: sample.posix.eventfd: tags: posix + harness: console + harness_config: + type: multi_line + ordered: true + regex: + - "Writing 1 to efd" + - "Writing 2 to efd" + - "Writing 3 to efd" + - "Writing 4 to efd" + - "Completed write loop" + - "About to read" + - "Read 10 (0xa) from efd" + - "Finished"