From b549e9410437425a7c9f379d03dc333fc13c2864 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 7 Nov 2014 12:29:17 +0100 Subject: [PATCH] tests: update fdisk tests Signed-off-by: Karel Zak --- tests/expected/fdisk/bsd | 2 ++ tests/expected/fdisk/mbr-dos-mode | 2 ++ tests/expected/fdisk/mbr-nondos-mode | 3 +++ tests/expected/fdisk/mbr-sort | 2 ++ tests/expected/sfdisk/dos-explicit-size | 8 ++++++++ tests/expected/sfdisk/dos-read-dump | 3 +++ tests/expected/sfdisk/gpt-list-pmbr | 2 ++ 7 files changed, 22 insertions(+) diff --git a/tests/expected/fdisk/bsd b/tests/expected/fdisk/bsd index eebff09a28..554d726511 100644 --- a/tests/expected/fdisk/bsd +++ b/tests/expected/fdisk/bsd @@ -68,6 +68,7 @@ partitions: 4 Slice Start End Sectors Size Type Fsize Bsize Cpg c 4096 20479 16384 8M unused 0 0 0 d 0 16064 16065 7.9M unused 0 0 0 + Partition table entries are not in disk order. Command (m for help): Leaving nested disklabel. @@ -98,6 +99,7 @@ Slice Start End Sectors Size Type Fsize Bsize Cpg a 4096 6144 2049 1M 4.2BSD 0 0 0 c 4096 20479 16384 8M unused 0 0 0 d 0 16064 16065 7.9M unused 0 0 0 + Partition table entries are not in disk order. Command (m for help): Leaving nested disklabel. diff --git a/tests/expected/fdisk/mbr-dos-mode b/tests/expected/fdisk/mbr-dos-mode index 3ae0cf3c16..6b4d0e4018 100644 --- a/tests/expected/fdisk/mbr-dos-mode +++ b/tests/expected/fdisk/mbr-dos-mode @@ -150,6 +150,7 @@ Device Boot Start End Cylinders Size Id Type 2 2 12 12 86.3M 5 Extended 5 6 7 2 15.7M 83 Linux 6 2 3 2 15.7M 83 Linux + Partition table entries are not in disk order. ------------------- @@ -169,6 +170,7 @@ Device Boot Start End Cylinders Size Id Type 2 2 12 12 86.3M 5 Extended 5 6 7 2 15.7M 83 Linux 6 2 3 2 15.7M 83 Linux + Partition table entries are not in disk order. ------------------- diff --git a/tests/expected/fdisk/mbr-nondos-mode b/tests/expected/fdisk/mbr-nondos-mode index cf7081f7f9..c2a55c6dea 100644 --- a/tests/expected/fdisk/mbr-nondos-mode +++ b/tests/expected/fdisk/mbr-nondos-mode @@ -146,6 +146,7 @@ Device Boot Start End Sectors Size Id Type 3 12288 40959 28672 14M 5 Extended 5 26624 30719 4096 2M 83 Linux 6 14336 18431 4096 2M 83 Linux + Partition table entries are not in disk order. ------------------- @@ -165,6 +166,7 @@ Device Boot Start End Sectors Size Id Type 3 12288 40959 28672 14M 5 Extended 5 26624 30719 4096 2M 83 Linux 6 14336 18431 4096 2M 83 Linux + Partition table entries are not in disk order. ------------------- @@ -183,6 +185,7 @@ Device Boot Start End Sectors Size Id Type 3 12288 40959 28672 14M 5 Extended 5 26624 30719 4096 2M 83 Linux 6 14336 18431 4096 2M 83 Linux + Partition table entries are not in disk order. ------------------- diff --git a/tests/expected/fdisk/mbr-sort b/tests/expected/fdisk/mbr-sort index 0e316c4d58..a1764bc388 100644 --- a/tests/expected/fdisk/mbr-sort +++ b/tests/expected/fdisk/mbr-sort @@ -23,6 +23,7 @@ Device Boot Start End Sectors Size Id Type 2 2048 4095 2048 1M 83 Linux 3 6144 8191 2048 1M 83 Linux 4 8192 40959 32768 16M 5 Extended + Partition table entries are not in disk order. ------------------- @@ -45,6 +46,7 @@ Device Boot Start End Sectors Size Id Type 6 22528 24575 2048 1M 83 Linux 7 18432 20479 2048 1M 83 Linux 8 10240 12287 2048 1M 83 Linux + Partition table entries are not in disk order. ------------------- diff --git a/tests/expected/sfdisk/dos-explicit-size b/tests/expected/sfdisk/dos-explicit-size index c7a5208519..f951e4a9c8 100644 --- a/tests/expected/sfdisk/dos-explicit-size +++ b/tests/expected/sfdisk/dos-explicit-size @@ -1,3 +1,10 @@ +Partition 1 does not start on physical sector boundary. +Partition 2 does not start on physical sector boundary. +Partition 3 does not start on physical sector boundary. +Partition 4 does not start on physical sector boundary. +Partition 5 does not start on physical sector boundary. +Partition 6 does not start on physical sector boundary. +Partition 7 does not start on physical sector boundary. Checking that no-one is using this disk right now ... OK Disk : 50 MiB, 52428800 bytes, 102400 sectors @@ -26,6 +33,7 @@ Device Boot Start End Sectors Size Id Type 6 4003 5002 1000 500K 83 Linux 7 5004 102399 97396 47.6M 83 Linux + The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. diff --git a/tests/expected/sfdisk/dos-read-dump b/tests/expected/sfdisk/dos-read-dump index b638e9dcc7..6296c226dd 100644 --- a/tests/expected/sfdisk/dos-read-dump +++ b/tests/expected/sfdisk/dos-read-dump @@ -1,3 +1,5 @@ +Partition 5 does not start on physical sector boundary. +Partition 6 does not start on physical sector boundary. Checking that no-one is using this disk right now ... OK Disk : 50 MiB, 52428800 bytes, 102400 sectors @@ -25,6 +27,7 @@ Device Boot Start End Sectors Size Id Type 5 20481 26624 6144 3M 83 Linux 6 26626 102399 75774 37M 83 Linux + The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. diff --git a/tests/expected/sfdisk/gpt-list-pmbr b/tests/expected/sfdisk/gpt-list-pmbr index c2a56c781e..4df1bc0c47 100644 --- a/tests/expected/sfdisk/gpt-list-pmbr +++ b/tests/expected/sfdisk/gpt-list-pmbr @@ -1,3 +1,4 @@ +Partition 1 does not start on physical sector boundary. Disk : 50 MiB, 52428800 bytes, 102400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes @@ -7,3 +8,4 @@ Disk identifier: Device Boot Start End Sectors Size Id Type 1 1 102399 102399 50M ee GPT + -- 2.47.3