2017-07-07 20:41:49 +08:00
|
|
|
sample:
|
2017-12-12 01:35:31 +08:00
|
|
|
name: Memory Domain APIs Test
|
2017-07-07 20:41:49 +08:00
|
|
|
tests:
|
2018-04-09 20:55:04 +08:00
|
|
|
kernel.memory_protection.memory_domains:
|
2017-12-06 02:00:43 +08:00
|
|
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
|
|
|
tags: samples
|
2017-12-12 01:35:31 +08:00
|
|
|
harness: console
|
2017-12-29 22:54:24 +08:00
|
|
|
timeout: 120
|
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: false
|
|
|
|
regex:
|
|
|
|
- "initialize memory domains"
|
|
|
|
- "add app thread \\d \\(0x[0-9a-f]+\\) into app\\d_domain."
|
|
|
|
- "app thread \\d \\(0x[0-9a-f]+\\) starts."
|
|
|
|
- "main thread \\(0x[0-9a-f]+\\) is back."
|
|
|
|
- "remove app0_parts0 from app0_domain."
|
|
|
|
- "main thread \\(0x[0-9a-f]+\\) yields."
|
|
|
|
- "destroy app0_domain."
|