mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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>
This commit is contained in:
parent
eac857a12a
commit
eb3d192212
|
|
@ -7,9 +7,10 @@ if ! _have_program fio; then
|
|||
exit $UBLK_SKIP_CODE
|
||||
fi
|
||||
|
||||
min_fio_version=fio-3.42
|
||||
fio_version=$(fio --version)
|
||||
if [[ "$fio_version" =~ fio-[0-9]+\.[0-9]+$ ]]; then
|
||||
echo "Requires development fio version with https://github.com/axboe/fio/pull/1992"
|
||||
if ! sort --version-sort --check=quiet <(printf "%s\n%s\n" "$min_fio_version" "$fio_version"); then
|
||||
echo "Requires fio version with https://github.com/axboe/fio/pull/1992"
|
||||
exit $UBLK_SKIP_CODE
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user