[PATCH 0/3] test: test recent regressions/features

Ahmad Fatoum a.fatoum at barebox.org
Sun Jun 22 23:26:38 PDT 2025


We had a couple of regressions around unmounting, for which fixes are
already in master or in-flight.

This series adds tests for that and also a new test for bootchooser.
They are combined just for convenience as they share dependencies.

This series depends on the patches in following series:
  - 20250623062032.3527006-1-a.fatoum at barebox.org
  - 20250623062253.3528292-1-a.fatoum at barebox.org

Ahmad Fatoum (3):
  test: self: idr: add test for idr_remove in idr_for_each_entry
  test: py: test mount/unmount of pstore file system
  test: py: add bootchooser attempt decrement and locking test

 arch/arm/configs/multi_v5_v6_defconfig       |   1 +
 arch/arm/configs/multi_v7_defconfig          |   1 +
 arch/arm/configs/multi_v8_defconfig          |   1 +
 common/boards/qemu-virt/qemu-virt-flash.dtso |   5 +
 test/arm/virt at multi_v7_defconfig.yaml        |   1 +
 test/arm/virt at multi_v8_defconfig.yaml        |   1 +
 test/py/helper.py                            |  63 ++++++++
 test/py/test_bootchooser.py                  | 158 +++++++++++++++++++
 test/py/test_mount.py                        |  21 +++
 test/riscv/qemu-virt64 at rv64i_defconfig.yaml  |   1 +
 test/riscv/qemu at virt32_defconfig.yaml        |   1 +
 test/self/idr.c                              |   8 +
 12 files changed, 262 insertions(+)
 create mode 100644 test/py/test_bootchooser.py
 create mode 100644 test/py/test_mount.py

-- 
2.39.5




More information about the barebox mailing list