1sample:
2  name: Bootargs Sample
3tests:
4  sample.kernel.bootargs.multiboot:
5    extra_args: EXTRA_CONF_FILE=prj_multiboot.conf
6    platform_allow:
7      - qemu_x86
8      - qemu_x86_64
9    harness: console
10    harness_config:
11      type: one_line
12      regex:
13        - "argv\\[0\\] = .*/zephyr(-qemu-locore)?.elf"
14  sample.kernel.bootargs.efi:
15    extra_args: EXTRA_CONF_FILE=prj_efi.conf
16    platform_allow: qemu_x86_64
17    harness: console
18    harness_config:
19      type: one_line
20      regex:
21        - "argv\\[0\\] = run.efi"
22  sample.kernel.bootargs.tokenization:
23    extra_configs:
24      - CONFIG_BOOTARGS_STRING="appname arg1 'arg2.1 arg2.2' arg3"
25    harness: console
26    harness_config:
27      type: multi_line
28      regex:
29        - "argv\\[0\\] = appname"
30        - "argv\\[1\\] = arg1"
31        - "argv\\[2\\] = arg2.1 arg2.2"
32        - "argv\\[3\\] = arg3"
33