summaryrefslogtreecommitdiff
path: root/libparted/tests/common.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-03-21 18:44:48 +0100
committerJim Meyering <meyering@redhat.com>2009-07-24 15:04:43 +0200
commit5ed83b06fb2e033956db2f83e6d10c3ae07b1dba (patch)
tree4eb63261c98c532a9e9de00a2ee08eab01616b96 /libparted/tests/common.c
parent7935bddb97d66fd97e05d075d8e475fe0d54dd29 (diff)
downloadparted-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/common.c')
-rw-r--r--libparted/tests/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libparted/tests/common.c b/libparted/tests/common.c
index ea3df40..4095639 100644
--- a/libparted/tests/common.c
+++ b/libparted/tests/common.c
@@ -72,6 +72,8 @@ _implemented_disk_label (const char *label)
/* Not implemented yet */
if (STREQ (label, "aix")) return 0;
+ if (STREQ (label, "pc98")) return 0;
+ if (STREQ (label, "sun")) return 0;
return 1;
}