diff options
author | Jim Meyering <meyering@redhat.com> | 2009-03-21 18:44:48 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-07-24 15:04:43 +0200 |
commit | 5ed83b06fb2e033956db2f83e6d10c3ae07b1dba (patch) | |
tree | 4eb63261c98c532a9e9de00a2ee08eab01616b96 /libparted/tests/label.c | |
parent | 7935bddb97d66fd97e05d075d8e475fe0d54dd29 (diff) | |
download | parted-5ed83b06fb2e033956db2f83e6d10c3ae07b1dba.tar.gz |
tests: clean up partition-table-testing code
* libparted/tests/common.c (_implemented_disk_label): Record here
that sun and pc98 are not yet implemented...
* libparted/tests/label.c: ...rather than in 4 places in this file.
Diffstat (limited to 'libparted/tests/label.c')
-rw-r--r-- | libparted/tests/label.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libparted/tests/label.c b/libparted/tests/label.c index 270a78b..e0d63c7 100644 --- a/libparted/tests/label.c +++ b/libparted/tests/label.c @@ -39,8 +39,6 @@ START_TEST (test_create_label) for (type = ped_disk_type_get_next (NULL); type; type = ped_disk_type_get_next (type)) { fprintf (stderr, "create label: %s\n", type->name); fflush (stderr); - if (strcmp (type->name, "sun") == 0) continue; - if (strcmp (type->name, "pc98") == 0) continue; if (!_implemented_disk_label (type->name)) continue; @@ -68,8 +66,6 @@ START_TEST (test_probe_label) fprintf (stderr, "PROBE label: %s\n", type->name); fflush (stderr); if (!_implemented_disk_label (type->name)) continue; - if (strcmp (type->name, "pc98") == 0) continue; - if (strcmp (type->name, "sun") == 0) continue; disk = _create_disk_label (dev, type); ped_disk_destroy (disk); @@ -103,8 +99,6 @@ START_TEST (test_read_label) fprintf (stderr, "read label: %s\n", type->name); fflush (stderr); if (!_implemented_disk_label (type->name)) continue; - if (strcmp (type->name, "pc98") == 0) continue; // segfault - if (strcmp (type->name, "sun") == 0) continue; // failed assertion disk = _create_disk_label (dev, type); ped_disk_destroy (disk); @@ -140,11 +134,6 @@ START_TEST (test_clone_label) if (!_implemented_disk_label (type->name)) continue; - /* FIXME: skip this test temporarily, while we wait - for someone to find the cycles to fix the bug. */ - if (STREQ (type->name, "pc98")) continue; // segfault - if (STREQ (type->name, "sun")) continue; // segfault - PedDisk* disk = _create_disk_label (dev, type); /* Try to clone the disk label. */ |