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"
|
rlRun "ls -lh ${TmpDir}/urandom_fill_file"
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
for partition_type in "raw" "lvm" "part"
|
for partition_type in "raw" "lvm"
|
||||||
do
|
do
|
||||||
case $partition_type in
|
case $partition_type in
|
||||||
"raw"*)
|
"raw"*)
|
||||||
@ -91,13 +91,6 @@ do
|
|||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
backing_device=/dev/vdo_base/vdo_base
|
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
|
esac
|
||||||
@ -158,11 +151,6 @@ do
|
|||||||
rlRun "pvremove /dev/loop0" 0 "Removing PV"
|
rlRun "pvremove /dev/loop0" 0 "Removing PV"
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
;;
|
;;
|
||||||
"part"*)
|
|
||||||
rlPhaseStartCleanup
|
|
||||||
rlRun "parted -s /dev/loop0 rm 1" 0 "Removing partition"
|
|
||||||
rlPhaseEnd
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user