Use _have_driver instead of _have_modules in _have_scsi_generic as nothing requires the sg driver to be modular. Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- tests/scsi/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scsi/rc b/tests/scsi/rc index c8d2f42..0751e77 100644 --- a/tests/scsi/rc +++ b/tests/scsi/rc @@ -15,7 +15,7 @@ group_device_requires() { } _have_scsi_generic() { - _have_modules sg + _have_driver sg } _require_test_dev_is_scsi() { -- 2.30.2