[parted-devel] [PATCH 5/5] tests: Fix t9041-undetected-in-use-16th-partition

cristian at kleinlabs.eu cristian at kleinlabs.eu
Fri Dec 11 21:19:26 GMT 2020


From: Cristian Klein <cristian.klein at elastisys.com>

Sometimes fails with:
```
+ mkfs.ext3 /dev/sda15
mke2fs 1.45.5 (07-Jan-2020)
/dev/sda15: Not enough space to build proposed filesystem while setting up superblock
```
---
 tests/t9041-undetected-in-use-16th-partition.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/t9041-undetected-in-use-16th-partition.sh b/tests/t9041-undetected-in-use-16th-partition.sh
index 1e28a65..666e7e2 100644
--- a/tests/t9041-undetected-in-use-16th-partition.sh
+++ b/tests/t9041-undetected-in-use-16th-partition.sh
@@ -25,7 +25,7 @@ grep '^#define USE_BLKID 1' "$CONFIG_HEADER" > /dev/null ||
   skip_ 'this system lacks a new-enough libblkid'
 
 ss=$sector_size_
-partition_sectors=256  # sectors per partition
+partition_sectors=512  # sectors per partition
 n_partitions=17        # how many partitions to create
 start=2048             # start sector for the first partition
 gpt_slop=34            # sectors at end of disk reserved for GPT
-- 
2.25.1




More information about the parted-devel mailing list