[parted-devel] [PATCH] [tests] Small refactoring on
test_create_label
Otavio Salvador
otavio at ossystems.com.br
Fri Apr 20 13:04:57 UTC 2007
- Destroy the temporary device once the test has been finished,
- Use the _implemented_disk_label and _create_disk_label methods
to avoid code duplication.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
(cherry picked from commit 0b3cdc7425a3b8d6095c1d0dd4e0d53851c52236)
libparted/tests/common.c | 2 --
libparted/tests/label.c | 12 +++---------
2 files changed, 3 insertions(+), 11 deletions(-)
--
1.5.1.1
More information about the parted-devel
mailing list