test: use a map to define test files / devices we need

Different tests need different files / devices, use a map to indicate
what each test need.

Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2 files changed