From 8fe38e1a7faa26a5227159d291646ffd14cd7c9e Mon Sep 17 00:00:00 2001 From: Andrew Walsh Date: Mon, 13 Jun 2022 13:17:40 +0000 Subject: [PATCH] Stop testing on top of partitioned loopback devices. Creating partitions on top of loopback devices stopped working and it is failing due to a reason that is unrelated to this package. Previously partition-based testing was established to ensure that the VDO-manager based VDO could handle things appropriately, but now that we're based on LVM, which is more mature in this region, we can trust that this is being tested appropriately elsewhere. Resolves: rhbz#2095768 Signed-off-by: Andrew Walsh --- tests/smoke/runtest.sh | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh index fa9723a..4942e3c 100644 --- a/tests/smoke/runtest.sh +++ b/tests/smoke/runtest.sh @@ -77,7 +77,7 @@ rlPhaseStartTest "Generate Test Data" rlRun "ls -lh ${TmpDir}/urandom_fill_file" rlPhaseEnd -for partition_type in "raw" "lvm" "part" +for partition_type in "raw" "lvm" do case $partition_type in "raw"*) @@ -91,13 +91,6 @@ do rlPhaseEnd backing_device=/dev/vdo_base/vdo_base ;; - "part"*) - rlPhaseStartTest "Create partitioned backing device" - rlRun "parted -s /dev/loop0 mklabel msdos" 0 "Creating label" - rlRun 'parted -s /dev/loop0 mkpart primary "" 1M -- -1M' 0 "Creating partition" - rlPhaseEnd - backing_device=/dev/loop0p1 - ;; *) ;; esac @@ -158,11 +151,6 @@ do rlRun "pvremove /dev/loop0" 0 "Removing PV" rlPhaseEnd ;; - "part"*) - rlPhaseStartCleanup - rlRun "parted -s /dev/loop0 rm 1" 0 "Removing partition" - rlPhaseEnd - ;; *) ;; esac