Remove partitions from disk after unmounting them
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
This commit is contained in:
parent
6ef7195950
commit
fdf095ea15
@ -168,6 +168,7 @@ def base_prepare(item):
|
|||||||
|
|
||||||
for disk in TestRun.dut.disks:
|
for disk in TestRun.dut.disks:
|
||||||
disk.umount_all_partitions()
|
disk.umount_all_partitions()
|
||||||
|
disk.remove_partitions()
|
||||||
create_partition_table(disk, PartitionTable.gpt)
|
create_partition_table(disk, PartitionTable.gpt)
|
||||||
|
|
||||||
if get_force_param(item) and not TestRun.usr.already_updated:
|
if get_force_param(item) and not TestRun.usr.already_updated:
|
||||||
|
Loading…
Reference in New Issue
Block a user