| sample: |
| name: Bootargs Sample |
| tests: |
| sample.kernel.bootargs.multiboot: |
| extra_args: EXTRA_CONF_FILE=prj_multiboot.conf |
| platform_allow: qemu_x86 qemu_x86_64 |
| harness: console |
| harness_config: |
| type: one_line |
| regex: |
| - "argv\\[0\\] = .*/zephyr(-qemu-locore)?.elf" |
| sample.kernel.bootargs.efi: |
| extra_args: EXTRA_CONF_FILE=prj_efi.conf |
| platform_allow: qemu_x86_64 |
| harness: console |
| harness_config: |
| type: one_line |
| regex: |
| - "argv\\[0\\] = run.efi" |
| sample.kernel.bootargs.tokenization: |
| extra_configs: |
| - CONFIG_BOOTARGS_STRING="appname arg1 'arg2.1 arg2.2' arg3" |
| harness: console |
| harness_config: |
| type: multi_line |
| regex: |
| - "argv\\[0\\] = appname" |
| - "argv\\[1\\] = arg1" |
| - "argv\\[2\\] = arg2.1 arg2.2" |
| - "argv\\[3\\] = arg3" |