mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
selftests: ublk: add SET_PARAMS validation test
Add test_params_01.sh for SET_PARAMS. The test checks valid basic parameters and several invalid parameter cases. Also cover zoned parameters, including a non-power-of-2 zone size. This case must fail in SET_PARAMS instead of being accepted and rejected later when the device is started. Signed-off-by: Yao Sang <sangyao@kylinos.cn> Link: https://patch.msgid.link/20260814023226.354288-4-sangyao@kylinos.cn Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
176f02a86c
commit
007af5e5cc
2 changed files with 116 additions and 0 deletions
114
tools/testing/selftests/ublk/test_params_01.sh
Executable file
114
tools/testing/selftests/ublk/test_params_01.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue