diff options
| author | Ming Lei <ming.lei@redhat.com> | 2026-02-01 00:23:33 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-31 14:56:28 -0700 |
| commit | 842b6520e579b8bd7d6ea09937e1fb7729cce1c5 (patch) | |
| tree | 2a1f79cf491fa793bd618d4af7a41e4d0b95b452 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 5af302a15a1d628a025a78892001fe8afea90c60 (diff) | |
selftests: ublk: refactor test_loop_08 into separate functions
Encapsulate each test case in its own function for better organization
and maintainability:
- _setup_device(): device and backfile initialization
- _test_fill_and_verify(): initial data population
- _test_corrupted_reftag(): reftag corruption detection test
- _test_corrupted_data(): data corruption detection test
- _test_bad_apptag(): apptag mismatch detection test
Also fix temp file creation to use ${UBLK_TEST_DIR}/fio_err_XXXXX instead of
creating in current directory.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
