OSDN Git Service

[tests] Implements _implemented_disk_label and _create_disk_label on common.[hc]
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 18 Apr 2007 22:35:57 +0000 (19:35 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 18 Apr 2007 22:40:25 +0000 (19:40 -0300)
commitc70ef4439cc5ea80db950f404ccdc2fef92bd488
tree7767b595a724f4730a218000f1a2954a56dab698
parentad50aff79f5062d543b21e98d2de938bec247a26
[tests] Implements _implemented_disk_label and _create_disk_label on common.[hc]

 - _implemented_disk_label: returns 0 when we haven't yet implemented
   this specific label and 1 otherwise;

 - _create_disk_label: creates a disk label of a specific type on a
   specific device;

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
libparted/tests/common.c
libparted/tests/common.h