@@ -153,18 +153,23 @@ jobs:
153153 # Run
154154 - run : ${{ env.BUILD_DIR }}usr/gen_init_cpio .github/workflows/qemu-initramfs.desc > qemu-initramfs.img
155155
156- - run : qemu-system-${{ env.QEMU_ARCH }} -kernel ${{ env.BUILD_DIR }}${{ env.IMAGE_PATH }} -initrd qemu-initramfs.img -M ${{ env.QEMU_MACHINE }} -cpu ${{ env.QEMU_CPU }} -smp 2 -nographic -no-reboot -append '${{ env.QEMU_APPEND }} rust_example.my_i32=123321 rust_example_2.my_i32=234432' | tee qemu-stdout.log
156+ - run : qemu-system-${{ env.QEMU_ARCH }} -kernel ${{ env.BUILD_DIR }}${{ env.IMAGE_PATH }} -initrd qemu-initramfs.img -M ${{ env.QEMU_MACHINE }} -cpu ${{ env.QEMU_CPU }} -smp 2 -nographic -no-reboot -append '${{ env.QEMU_APPEND }} rust_example.my_i32=123321 rust_example.my_str=🦀mod rust_example.my_invbool=y rust_example_2.my_i32=234432' | tee qemu-stdout.log
157157
158158 # Check
159159 - run : grep -F '] Rust Example (init)' qemu-stdout.log
160160 - run : grep -F '] [2] Rust Example (init)' qemu-stdout.log
161161 - run : grep -F '] [3] Rust Example (init)' qemu-stdout.log
162162 - run : grep -F '] [4] Rust Example (init)' qemu-stdout.log
163163
164- - run : " grep -F '] my_i32: 123321' qemu-stdout.log"
165- - run : " grep -F '] [2] my_i32: 234432' qemu-stdout.log"
166- - run : " grep -F '] [3] my_i32: 345543' qemu-stdout.log"
167- - run : " grep -F '] [4] my_i32: 456654' qemu-stdout.log"
164+ - run : " grep -F '] my_i32: 123321' qemu-stdout.log"
165+ - run : " grep -F '] [2] my_i32: 234432' qemu-stdout.log"
166+ - run : " grep -F '] [3] my_i32: 345543' qemu-stdout.log"
167+ - run : " grep -F '] [4] my_i32: 456654' qemu-stdout.log"
168+
169+ - run : " grep '\\ ] my_str: 🦀mod\\ s*$' qemu-stdout.log"
170+ - run : " grep '\\ ] \\ [2\\ ] my_str: default str val\\ s*$' qemu-stdout.log"
171+ - run : " grep '\\ ] \\ [3\\ ] my_str: 🦀mod\\ s*$' qemu-stdout.log"
172+ - run : " grep '\\ ] \\ [4\\ ] my_str: default str val\\ s*$' qemu-stdout.log"
168173
169174 - run : grep -F '] [3] Rust Example (exit)' qemu-stdout.log
170175 - run : grep -F '] [4] Rust Example (exit)' qemu-stdout.log
0 commit comments