]> www.infradead.org Git - users/hch/blktests.git/commit
common,tests: replace _have_modules() with _have_module()
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Tue, 23 Aug 2022 00:11:53 +0000 (09:11 +0900)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Mon, 29 Aug 2022 23:52:54 +0000 (08:52 +0900)
commit647fdc58bca1219d2a99314759a293b7bc7d51f3
tree141faa7a5fe0098d4e58e0a181959ccf82969d35
parentea5c75599e454fe5137d0a30a29384404dc0e234
common,tests: replace _have_modules() with _have_module()

The helper functions _have_modules() and _have_driver() have similar
roles, but they take different number of arguments. The former takes
multiple module names and the latter takes single module name. To make
their usage consistent, modify _have_modules() to _have_module() to take
single argument. This improves readability by checking one module per
line.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
common/rc
common/scsi_debug
tests/nbd/004
tests/nvmeof-mp/rc
tests/srp/015
tests/srp/rc
tests/zbd/010