From ad9513082301107c7bb7bb996040a031aa23cad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Tue, 14 Mar 2017 16:06:22 +0100 Subject: [PATCH] warn if unallocated space is found --- tests/test_partitions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_partitions.py b/tests/test_partitions.py index 78de1e01..87e987b2 100755 --- a/tests/test_partitions.py +++ b/tests/test_partitions.py @@ -79,6 +79,7 @@ def check_allocation(dev): unallocated = max_size - total_size unallocated_gbytes = to_gbytes(unallocated) if unallocated_gbytes > 1: + print('Warning, %s GB are unallocated on %s' % (unallocated_gbytes, root_dev)) return False return True -- GitLab