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 <awalsh@redhat.com>
This commit is contained in:
parent
412bf0a6d6
commit
8fe38e1a7f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user