Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests: ublk: enable test_integrity_02.sh on fio 3.42

fio 3.42 was released with the needed fix for test_integrity_02.sh.
Allow 3.42 and newer in the fio version check.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <tom.leiming@gmail.com>
Link: https://patch.msgid.link/20260421200901.1528842-3-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Caleb Sander Mateos and committed by
Jens Axboe
eb3d1922 eac857a1

+3 -2
+3 -2
tools/testing/selftests/ublk/test_integrity_02.sh
··· 7 7 exit $UBLK_SKIP_CODE 8 8 fi 9 9 10 + min_fio_version=fio-3.42 10 11 fio_version=$(fio --version) 11 - if [[ "$fio_version" =~ fio-[0-9]+\.[0-9]+$ ]]; then 12 - echo "Requires development fio version with https://github.com/axboe/fio/pull/1992" 12 + if ! sort --version-sort --check=quiet <(printf "%s\n%s\n" "$min_fio_version" "$fio_version"); then 13 + echo "Requires fio version with https://github.com/axboe/fio/pull/1992" 13 14 exit $UBLK_SKIP_CODE 14 15 fi 15 16