diff options
| author | Ming Lei <ming.lei@redhat.com> | 2026-01-30 00:19:52 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-31 06:36:41 -0700 |
| commit | 3a4d8bed0b47543b2dfce0b1d714b40d68ff2f7e (patch) | |
| tree | 7ff205bf1ac630f6124cb000180a07b1588dd29b /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 8443e2087e7002fa25984faad6bbf5f63b280645 (diff) | |
selftests: ublk: derive TID automatically from script name
Add automatic TID derivation in test_common.sh based on the script
filename. The TID is extracted by stripping the "test_" prefix and
".sh" suffix from the script name (e.g., test_loop_01.sh -> loop_01).
This removes the need for each test script to manually define TID,
reducing boilerplate and preventing potential mismatches between
the script name and TID. Scripts can still override TID after
sourcing test_common.sh if needed.
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
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
