Removed the uds module from the sanity test

The UDS module no longer exists as a separate module in VDO.

Related: rhbz#2071648

Signed-off-by: Andrew Walsh <awalsh@redhat.com>
This commit is contained in:
Andrew Walsh 2022-08-25 06:02:45 +00:00
parent dadecd0b6b
commit 4fa1122489

View File

@ -35,26 +35,21 @@ rlJournalStart
rlLog "uname: $(uname -a)" rlLog "uname: $(uname -a)"
rlPhaseEnd rlPhaseEnd
rlPhaseStartTest "Confirm modules are installed" rlPhaseStartTest "Confirm kvdo module is installed"
rlRun "find /lib/modules -type f -name uds.ko"
rlRun "find /lib/modules -type f -name kvdo.ko" rlRun "find /lib/modules -type f -name kvdo.ko"
rlPhaseEnd rlPhaseEnd
rlPhaseStartTest "Validate module information" rlPhaseStartTest "Validate module information"
rlRun "modinfo -l uds"
rlRun "modinfo -l kvdo" rlRun "modinfo -l kvdo"
rlPhaseEnd rlPhaseEnd
rlPhaseStartTest "Confirm the modules can be loaded" rlPhaseStartTest "Confirm the kvdo module can be loaded"
rlRun "modprobe uds"
rlRun "lsmod | grep uds"
rlRun "modprobe kvdo" rlRun "modprobe kvdo"
rlRun "lsmod | grep kvdo" rlRun "lsmod | grep kvdo"
rlPhaseEnd rlPhaseEnd
rlPhaseStartCleanup "Unload the modules" rlPhaseStartCleanup "Unload the kvdo module"
rlRun "modprobe -r kvdo" rlRun "modprobe -r kvdo"
rlRun "modprobe -r uds"
rlPhaseEnd rlPhaseEnd
rlJournalPrintText rlJournalPrintText