diff --git a/tests/kernel/usb_drive.pm b/tests/kernel/usb_drive.pm index 262870ca7bde..570dca45628e 100644 --- a/tests/kernel/usb_drive.pm +++ b/tests/kernel/usb_drive.pm @@ -4,7 +4,7 @@ # SPDX-License-Identifier: FSFAP # Package: usb_nic -# Summary: Simple smoke test for testing USB NIC connected to system +# Summary: Simple smoke test for testing USB drive connected to system # Maintainer: LSG QE Kernel use base 'opensusebasetest'; @@ -13,7 +13,6 @@ use warnings; use testapi; use serial_terminal 'select_serial_terminal'; use utils; -use Utils::Logging 'export_logs_basic'; sub run { my ($self) = @_; @@ -37,7 +36,7 @@ sub run { assert_script_run "mount -t btrfs $device $mountpoint"; assert_script_run "dd if=/dev/urandom of=$file bs=1M count=16"; - assert_script_run "md5sum $file > $md5"; + assert_script_run "md5sum $file > $md5"; assert_script_run "cp $file $file_copy"; # sync, unmount and flush slab and page cache diff --git a/tests/kernel/usb_nic.pm b/tests/kernel/usb_nic.pm index 2f88807c292a..ab069e953d37 100644 --- a/tests/kernel/usb_nic.pm +++ b/tests/kernel/usb_nic.pm @@ -5,7 +5,7 @@ # Package: usb_nic # Summary: Simple smoke test for testing USB NIC connected to system -# Maintainer: LSG QE Kernel +# Maintainer: LSG QE Kernel use base 'opensusebasetest'; use strict; @@ -13,15 +13,12 @@ use warnings; use testapi; use serial_terminal 'select_serial_terminal'; use utils; -use Utils::Logging 'export_logs_basic'; sub run { my ($self) = @_; select_serial_terminal; - zypper_call('in -t package ethtool'); - my $interface = script_output 'basename $(readlink /sys/class/net/* | grep usb )'; assert_script_run "echo \"BOOTPROTO='dhcp'\" > /etc/sysconfig/network/ifcfg-$interface";