mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-29 13:52:20 +00:00
test(netboot): cover the Intel 700 and 800 series riscv64 drivers
The EL and Ubuntu riscv64 default driver lists carry i40e and ice, and the Ubuntu list keeps ixgbe.
This commit is contained in:
@@ -89,7 +89,7 @@ ok(
|
||||
);
|
||||
|
||||
my %riscv64_drivers = map { $_ => 1 } imgutils::default_net_drivers( 'rh', 'riscv64' );
|
||||
for my $driver (qw(e1000 e1000e igb ixgbe r8169 tg3 bnx2x mlx5_core virtio_net)) {
|
||||
for my $driver (qw(e1000 e1000e igb ixgbe i40e ice r8169 tg3 bnx2x mlx5_core virtio_net)) {
|
||||
ok( $riscv64_drivers{$driver}, "riscv64 diskless images receive the $driver network driver" );
|
||||
}
|
||||
is_deeply(
|
||||
|
||||
@@ -18,7 +18,7 @@ require imgutils;
|
||||
my @riscv = imgutils::default_net_drivers( 'ubuntu', 'riscv64' );
|
||||
ok( scalar @riscv, 'a riscv64 Ubuntu image is given network drivers' );
|
||||
|
||||
for my $driver (qw(virtio_net e1000 e1000e igb r8169 tg3 mlx5_core)) {
|
||||
for my $driver (qw(virtio_net e1000 e1000e igb ixgbe i40e ice r8169 tg3 mlx5_core)) {
|
||||
ok( scalar( grep { $_ eq $driver } @riscv ), "the list carries $driver" );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user