diff --git a/tests/kernel/mellanox_config.pm b/tests/kernel/mellanox_config.pm index 2c2d96ef83a6..16fa172510de 100644 --- a/tests/kernel/mellanox_config.pm +++ b/tests/kernel/mellanox_config.pm @@ -42,7 +42,7 @@ sub run { # install dependencies zypper_call('--quiet in pciutils mstflint', timeout => 200); - my @devices = split(' ', script_output("lspci | grep -i infiniband.*mellanox |cut -d ' ' -f 1")); + my @devices = split(' ', script_output("lspci | grep -i mellanox.*ConnectX-5 |cut -d ' ' -f 1")); die "There is no Mellanox card here" if !@devices;