bug#16134: [PATCH 3/3] libparted:tests: Enable _implemented_disk_label for atari

2017-04-18 Thread Phil Susi
If the actual test fails when ss != 512, we probably shouldn't bother calling it in the first place. In other words, swap the order of get_sector_size() != 512 and the test, and change from != to ==. Also Sebastian had a point about the main partition table commit lacking a full message. Could y

bug#16134: [PATCH 3/3] libparted:tests: Enable _implemented_disk_label for atari

2016-10-16 Thread John Paul Adrian Glaubitz
Use get_sector_size() to ensure we're testing on 512-byte sectors only. Signed-off-by: John Paul Adrian Glaubitz --- libparted/tests/common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libparted/tests/common.c b/libparted/tests/common.c index 8ef3915..2be0e3a 100644 -