[PATCH 0/3] selftests: ublk: integrity test cleanups

Caleb Sander Mateos
2026-04-21T20:09:06Z

Update test_integrity_02 to allow fio-3.42 now that it's been released.
Add a modified version test_integrity_03 that uses auto integrity and
avoids the newer fio requirement.

Also clean up the callers of _cleanup passing an unnecessary argument.

Caleb Sander Mateos (3):
selftests: ublk: remove unused argument to _cleanup
selftests: ublk: enable test_integrity_02.sh on fio 3.42
selftests: ublk: add ublk auto integrity test

tools/testing/selftests/ublk/Makefile | 1 +
tools/testing/selftests/ublk/test_batch_01.sh | 4 +-
tools/testing/selftests/ublk/test_batch_02.sh | 2 +-
tools/testing/selftests/ublk/test_batch_03.sh | 2 +-
.../testing/selftests/ublk/test_generic_02.sh | 4 +-
.../testing/selftests/ublk/test_generic_03.sh | 2 +-
.../testing/selftests/ublk/test_generic_06.sh | 2 +-
.../testing/selftests/ublk/test_generic_07.sh | 2 +-
.../testing/selftests/ublk/test_generic_08.sh | 4 +-
.../testing/selftests/ublk/test_generic_09.sh | 2 +-
.../testing/selftests/ublk/test_generic_10.sh | 2 +-
.../testing/selftests/ublk/test_generic_12.sh | 4 +-
.../testing/selftests/ublk/test_generic_13.sh | 2 +-
.../testing/selftests/ublk/test_generic_16.sh | 4 +-
.../testing/selftests/ublk/test_generic_17.sh | 2 +-
.../selftests/ublk/test_integrity_02.sh | 5 +-
.../selftests/ublk/test_integrity_03.sh | 103 ++++++++++++++++++
tools/testing/selftests/ublk/test_loop_01.sh | 2 +-
tools/testing/selftests/ublk/test_loop_02.sh | 2 +-
tools/testing/selftests/ublk/test_loop_03.sh | 2 +-
tools/testing/selftests/ublk/test_loop_04.sh | 2 +-
tools/testing/selftests/ublk/test_loop_05.sh | 2 +-
tools/testing/selftests/ublk/test_loop_06.sh | 2 +-
tools/testing/selftests/ublk/test_loop_07.sh | 2 +-
tools/testing/selftests/ublk/test_null_01.sh | 2 +-
tools/testing/selftests/ublk/test_null_02.sh | 2 +-
tools/testing/selftests/ublk/test_null_03.sh | 2 +-
tools/testing/selftests/ublk/test_part_01.sh | 4 +-
tools/testing/selftests/ublk/test_part_02.sh | 2 +-
.../testing/selftests/ublk/test_recover_01.sh | 2 +-
.../testing/selftests/ublk/test_recover_02.sh | 2 +-
.../testing/selftests/ublk/test_recover_03.sh | 2 +-
.../testing/selftests/ublk/test_recover_04.sh | 2 +-
.../testing/selftests/ublk/test_shmemzc_01.sh | 2 +-
.../testing/selftests/ublk/test_shmemzc_02.sh | 2 +-
.../testing/selftests/ublk/test_shmemzc_03.sh | 2 +-
.../testing/selftests/ublk/test_shmemzc_04.sh | 2 +-
.../testing/selftests/ublk/test_stress_01.sh | 2 +-
.../testing/selftests/ublk/test_stress_02.sh | 2 +-
.../testing/selftests/ublk/test_stress_03.sh | 2 +-
.../testing/selftests/ublk/test_stress_04.sh | 2 +-
.../testing/selftests/ublk/test_stress_05.sh | 2 +-
.../testing/selftests/ublk/test_stress_06.sh | 2 +-
.../testing/selftests/ublk/test_stress_07.sh | 2 +-
.../testing/selftests/ublk/test_stress_08.sh | 2 +-
.../testing/selftests/ublk/test_stress_09.sh | 2 +-
.../testing/selftests/ublk/test_stripe_01.sh | 2 +-
.../testing/selftests/ublk/test_stripe_02.sh | 2 +-
.../testing/selftests/ublk/test_stripe_03.sh | 2 +-
.../testing/selftests/ublk/test_stripe_04.sh | 2 +-
.../testing/selftests/ublk/test_stripe_05.sh | 2 +-
.../testing/selftests/ublk/test_stripe_06.sh | 2 +-
52 files changed, 162 insertions(+), 57 deletions(-)
create mode 100755 tools/testing/selftests/ublk/test_integrity_03.sh

--
2.45.2