============= Before the code changes ================= $ ./test/py/test.py --bd sandbox --build +make O=/home/vagrant/aristo/capsule/u-boot-mkeficapsule/build-sandbox -s sandbox_defconfig +make O=/home/vagrant/aristo/capsule/u-boot-mkeficapsule/build-sandbox -s -j4 =============================================================================================== test session starts =============================================================================================== platform linux -- Python 3.10.12, pytest-7.4.2, pluggy-1.3.0 rootdir: /home/vagrant/aristo/capsule/u-boot-mkeficapsule/test/py configfile: pytest.ini collected 857 items test/py/tests/test_000_version.py . [ 0%] test/py/tests/test_bind.py .. [ 0%] test/py/tests/test_button.py .. [ 0%] test/py/tests/test_dfu.py s [ 0%] test/py/tests/test_dm.py ... [ 1%] test/py/tests/test_efi_fit.py . [ 1%] test/py/tests/test_efi_loader.py .sss.s [ 1%] test/py/tests/test_efi_selftest.py ssssss [ 2%] test/py/tests/test_env.py ............... [ 4%] test/py/tests/test_extension.py . [ 4%] test/py/tests/test_fit.py . [ 4%] test/py/tests/test_fit_ecdsa.py . [ 4%] test/py/tests/test_fit_hashes.py . [ 4%] test/py/tests/test_fpga.py ssssssssssssssssssssssssssss [ 8%] test/py/tests/test_gpio.py .. [ 8%] test/py/tests/test_gpt.py ....... [ 9%] test/py/tests/test_handoff.py s [ 9%] test/py/tests/test_help.py . [ 9%] test/py/tests/test_hush_if_test.py .................................................................... [ 17%] test/py/tests/test_log.py s. [ 17%] test/py/tests/test_lsblk.py . [ 17%] test/py/tests/test_md.py .. [ 17%] test/py/tests/test_mmc_rd.py ssss [ 18%] test/py/tests/test_mmc_wr.py s [ 18%] test/py/tests/test_net.py .sssss [ 19%] test/py/tests/test_ofplatdata.py s [ 19%] test/py/tests/test_part.py . [ 19%] test/py/tests/test_pinmux.py ....... [ 20%] test/py/tests/test_pstore.py ... [ 20%] test/py/tests/test_qfw.py .. [ 20%] test/py/tests/test_sandbox_exit.py ..s. [ 21%] test/py/tests/test_scp03.py . [ 21%] test/py/tests/test_sf.py ssss [ 21%] test/py/tests/test_shell_basics.py .... [ 22%] test/py/tests/test_sleep.py s [ 22%] test/py/tests/test_spl.py s [ 22%] test/py/tests/test_stackprotector.py . [ 22%] test/py/tests/test_tpm2.py ........... [ 23%] test/py/tests/test_ums.py s [ 24%] test/py/tests/test_unknown_cmd.py . [ 24%] test/py/tests/test_ut.py .................................................................................................................................................................................. [ 44%] ........................................................................................................................................................................................................... [ 68%] ......................................................................................................................................... [ 84%] test/py/tests/test_vboot.py ......... [ 85%] test/py/tests/test_android/test_ab.py . [ 85%] test/py/tests/test_android/test_abootimg.py . [ 85%] test/py/tests/test_android/test_avb.py ss..s. [ 86%] test/py/tests/test_efi_capsule/test_capsule_firmware.py sss [ 87%] test/py/tests/test_efi_secboot/test_authvar.py sssss [ 87%] test/py/tests/test_efi_secboot/test_signed.py ssssss [ 88%] test/py/tests/test_efi_secboot/test_signed_intca.py sss [ 88%] test/py/tests/test_efi_secboot/test_unsigned.py sss [ 89%] test/py/tests/test_fs/test_basic.py ....................................... [ 93%] test/py/tests/test_fs/test_ext.py ...................... [ 96%] test/py/tests/test_fs/test_fs_cmd.py . [ 96%] test/py/tests/test_fs/test_mkdir.py ............ [ 97%] test/py/tests/test_fs/test_symlink.py .... [ 98%] test/py/tests/test_fs/test_unlink.py .............. [ 99%] test/py/tests/test_fs/test_squashfs/test_sqfs_load.py . [ 99%] test/py/tests/test_fs/test_squashfs/test_sqfs_ls.py . [100%] =================================================================================== 774 passed, 83 skipped in 373.05s (0:06:13) =================================================================================== ============= After the code changes ================= $ ./test/py/test.py --bd sandbox --build +make O=/home/vagrant/aristo/capsule/u-boot-mkeficapsule/build-sandbox -s sandbox_defconfig +make O=/home/vagrant/aristo/capsule/u-boot-mkeficapsule/build-sandbox -s -j4 =============================================================================================== test session starts =============================================================================================== platform linux -- Python 3.10.12, pytest-7.4.2, pluggy-1.3.0 rootdir: /home/vagrant/aristo/capsule/u-boot-mkeficapsule/test/py configfile: pytest.ini collected 861 items test/py/tests/test_000_version.py . [ 0%] test/py/tests/test_bind.py .. [ 0%] test/py/tests/test_button.py .. [ 0%] test/py/tests/test_dfu.py s [ 0%] test/py/tests/test_dm.py ... [ 1%] test/py/tests/test_efi_fit.py . [ 1%] test/py/tests/test_efi_loader.py .sss.s [ 1%] test/py/tests/test_efi_selftest.py ssssss [ 2%] test/py/tests/test_env.py ............... [ 4%] test/py/tests/test_extension.py . [ 4%] test/py/tests/test_fit.py . [ 4%] test/py/tests/test_fit_ecdsa.py . [ 4%] test/py/tests/test_fit_hashes.py . [ 4%] test/py/tests/test_fpga.py ssssssssssssssssssssssssssss [ 8%] test/py/tests/test_gpio.py .. [ 8%] test/py/tests/test_gpt.py ....... [ 9%] test/py/tests/test_handoff.py s [ 9%] test/py/tests/test_help.py . [ 9%] test/py/tests/test_hush_if_test.py .................................................................... [ 17%] test/py/tests/test_log.py s. [ 17%] test/py/tests/test_lsblk.py . [ 17%] test/py/tests/test_md.py .. [ 17%] test/py/tests/test_mmc_rd.py ssss [ 18%] test/py/tests/test_mmc_wr.py s [ 18%] test/py/tests/test_net.py .sssss [ 19%] test/py/tests/test_ofplatdata.py s [ 19%] test/py/tests/test_part.py . [ 19%] test/py/tests/test_pinmux.py ....... [ 20%] test/py/tests/test_pstore.py ... [ 20%] test/py/tests/test_qfw.py .. [ 20%] test/py/tests/test_sandbox_exit.py ..s. [ 21%] test/py/tests/test_scp03.py . [ 21%] test/py/tests/test_sf.py ssss [ 21%] test/py/tests/test_shell_basics.py .... [ 22%] test/py/tests/test_sleep.py s [ 22%] test/py/tests/test_spl.py s [ 22%] test/py/tests/test_stackprotector.py . [ 22%] test/py/tests/test_tpm2.py ........... [ 23%] test/py/tests/test_ums.py s [ 23%] test/py/tests/test_unknown_cmd.py . [ 24%] test/py/tests/test_ut.py .................................................................................................................................................................................. [ 44%] ........................................................................................................................................................................................................... [ 68%] ......................................................................................................................................... [ 84%] test/py/tests/test_vboot.py .......... [ 85%] test/py/tests/test_android/test_ab.py . [ 85%] test/py/tests/test_android/test_abootimg.py . [ 85%] test/py/tests/test_android/test_avb.py ss..s. [ 86%] test/py/tests/test_efi_capsule/test_capsule_firmware.py ssss [ 86%] test/py/tests/test_efi_capsule/test_capsule_firmware_signed.py sss [ 87%] test/py/tests/test_efi_secboot/test_authvar.py sssss [ 87%] test/py/tests/test_efi_secboot/test_signed.py ssssss [ 88%] test/py/tests/test_efi_secboot/test_signed_intca.py sss [ 88%] test/py/tests/test_efi_secboot/test_unsigned.py sss [ 89%] test/py/tests/test_fs/test_basic.py ....................................... [ 93%] test/py/tests/test_fs/test_ext.py ...................... [ 96%] test/py/tests/test_fs/test_fs_cmd.py . [ 96%] test/py/tests/test_fs/test_mkdir.py ............ [ 97%] test/py/tests/test_fs/test_symlink.py .... [ 98%] test/py/tests/test_fs/test_unlink.py .............. [ 99%] test/py/tests/test_fs/test_squashfs/test_sqfs_load.py . [ 99%] test/py/tests/test_fs/test_squashfs/test_sqfs_ls.py . [100%] =================================================================================== 774 passed, 87 skipped in 306.22s (0:05:06) ===================================================================================