Since the test_create_label already tests the label reading we
shouldn't redo it. It's always better to have simple tests so is much
easier to find the bugs.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
continue;
disk = _create_disk_label (dev, type);
- ped_disk_destroy (disk);
-
- /* Try to read the disk label. */
- disk = ped_disk_new (dev);
- fail_if (!disk,
- "Failed to read the just created label of type: %s",
- type->name);
/* Try to clone the disk label. */
clone = ped_disk_duplicate (disk);