Skip to content

Commit

Permalink
Merge pull request #19960 from frankenmichl/fix_mellanox_config
Browse files Browse the repository at this point in the history
Change regex to search for devices
  • Loading branch information
schlad authored Aug 14, 2024
2 parents 5d07b7e + 19c4caa commit cdfd608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kernel/mellanox_config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cdfd608

Please sign in to comment.