]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: ublk: simplify UBLK_TEST_DIR handling
authorMing Lei <ming.lei@redhat.com>
Sat, 31 Jan 2026 16:23:32 +0000 (00:23 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 31 Jan 2026 21:56:28 +0000 (14:56 -0700)
commit5af302a15a1d628a025a78892001fe8afea90c60
tree3c9951f755cddb82420086e8be55f26153047982
parent491af20b3c6d5baedb96357d4b12232ae490cbe7
selftests: ublk: simplify UBLK_TEST_DIR handling

Remove intermediate TDIR variable and set UBLK_TEST_DIR directly
in _prep_test(). Remove default initialization since the directory
is created dynamically when tests run.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/testing/selftests/ublk/test_common.sh