From d68588b0c68ae26417c487fb6cdcaf2871107666 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 31 Jul 2018 15:20:55 +0200 Subject: tests: update fdisk dialogs Signed-off-by: Karel Zak --- tests/expected/blkid/md-raid0-whole | 4 ++-- tests/expected/blkid/md-raid1-part | 4 ++-- tests/expected/blkid/md-raid1-whole | 4 ++-- tests/expected/fdisk/align-512-4K | 14 +++++++------- tests/expected/fdisk/align-512-4K-63 | 14 +++++++------- tests/expected/fdisk/align-512-4K-md | 8 ++++---- tests/expected/fdisk/align-512-512 | 14 +++++++------- tests/expected/fdisk/align-512-512-topology | 14 +++++++------- tests/expected/fdisk/gpt-resize | 2 +- tests/expected/fdisk/sunlabel | 2 +- 10 files changed, 40 insertions(+), 40 deletions(-) (limited to 'tests/expected') diff --git a/tests/expected/blkid/md-raid0-whole b/tests/expected/blkid/md-raid0-whole index 91ecba059..340cf5378 100644 --- a/tests/expected/blkid/md-raid0-whole +++ b/tests/expected/blkid/md-raid0-whole @@ -12,13 +12,13 @@ Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) -Select (default p): Partition number (1-4, default 1): First sector (2048-204543, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-204543, default 204543): +Select (default p): Partition number (1-4, default 1): First sector (2048-204543, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-204543, default 204543): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) -Select (default p): Partition number (2-4, default 2): First sector (22528-204543, default 22528): Last sector, +sectors or +size{K,M,G,T,P} (22528-204543, default 204543): +Select (default p): Partition number (2-4, default 2): First sector (22528-204543, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-204543, default 204543): Created a new . Command (m for help): Disk : 99.9 MiB, 104726528 bytes, 204544 sectors diff --git a/tests/expected/blkid/md-raid1-part b/tests/expected/blkid/md-raid1-part index 781c65c90..bf6c9d8a3 100644 --- a/tests/expected/blkid/md-raid1-part +++ b/tests/expected/blkid/md-raid1-part @@ -10,13 +10,13 @@ Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) -Select (default p): Partition number (1-4, default 1): First sector (2048-104447, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-104447, default 104447): +Select (default p): Partition number (1-4, default 1): First sector (2048-104447, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-104447, default 104447): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) -Select (default p): Partition number (2-4, default 2): First sector (53248-104447, default 53248): Last sector, +sectors or +size{K,M,G,T,P} (53248-104447, default 104447): +Select (default p): Partition number (2-4, default 2): First sector (53248-104447, default 53248): Last sector, +/-sectors or +/-size{K,M,G,T,P} (53248-104447, default 104447): Created a new . Command (m for help): Disk : 51 MiB, 53477376 bytes, 104448 sectors diff --git a/tests/expected/blkid/md-raid1-whole b/tests/expected/blkid/md-raid1-whole index ae5a95ddb..0a63dc743 100644 --- a/tests/expected/blkid/md-raid1-whole +++ b/tests/expected/blkid/md-raid1-whole @@ -12,13 +12,13 @@ Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) -Select (default p): Partition number (1-4, default 1): First sector (2048-102271, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-102271, default 102271): +Select (default p): Partition number (1-4, default 1): First sector (2048-102271, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102271, default 102271): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) -Select (default p): Partition number (2-4, default 2): First sector (22528-102271, default 22528): Last sector, +sectors or +size{K,M,G,T,P} (22528-102271, default 102271): +Select (default p): Partition number (2-4, default 2): First sector (22528-102271, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102271, default 102271): Created a new . Command (m for help): Disk /dev/md8: 50 MiB, 52363264 bytes, 102272 sectors diff --git a/tests/expected/fdisk/align-512-4K b/tests/expected/fdisk/align-512-4K index 8bdc50ece..3a288d711 100644 --- a/tests/expected/fdisk/align-512-4K +++ b/tests/expected/fdisk/align-512-4K @@ -10,19 +10,19 @@ Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) -Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-102399, default 102399): +Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102399, default 102399): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) -Select (default p): Partition number (2-4, default 2): First sector (22528-102399, default 22528): Last sector, +sectors or +size{K,M,G,T,P} (22528-102399, default 102399): +Select (default p): Partition number (2-4, default 2): First sector (22528-102399, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102399, default 102399): Created a new . Command (m for help): Partition type p primary (2 primary, 0 extended, 2 free) e extended (container for logical partitions) -Select (default p): Partition number (3,4, default 3): First sector (43008-102399, default 43008): Last sector, +sectors or +size{K,M,G,T,P} (43008-102399, default 102399): +Select (default p): Partition number (3,4, default 3): First sector (43008-102399, default 43008): Last sector, +/-sectors or +/-size{K,M,G,T,P} (43008-102399, default 102399): Created a new . Command (m for help): Partition type @@ -30,22 +30,22 @@ Command (m for help): Partition type e extended (container for logical partitions) Select (default e): Selected partition 4 -First sector (63488-102399, default 63488): Last sector, +sectors or +size{K,M,G,T,P} (63488-102399, default 102399): +First sector (63488-102399, default 63488): Last sector, +/-sectors or +/-size{K,M,G,T,P} (63488-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 5 -First sector (65536-102399, default 65536): Last sector, +sectors or +size{K,M,G,T,P} (65536-102399, default 102399): +First sector (65536-102399, default 65536): Last sector, +/-sectors or +/-size{K,M,G,T,P} (65536-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 6 -First sector (77824-102399, default 77824): Last sector, +sectors or +size{K,M,G,T,P} (77824-102399, default 102399): +First sector (77824-102399, default 77824): Last sector, +/-sectors or +/-size{K,M,G,T,P} (77824-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 7 -First sector (90112-102399, default 90112): Last sector, +sectors or +size{K,M,G,T,P} (90112-102399, default 102399): +First sector (90112-102399, default 90112): Last sector, +/-sectors or +/-size{K,M,G,T,P} (90112-102399, default 102399): Created a new . Command (m for help): Disk : 50 MiB, 52428800 bytes, 102400 sectors diff --git a/tests/expected/fdisk/align-512-4K-63 b/tests/expected/fdisk/align-512-4K-63 index e469ab7a3..a56abc005 100644 --- a/tests/expected/fdisk/align-512-4K-63 +++ b/tests/expected/fdisk/align-512-4K-63 @@ -10,19 +10,19 @@ Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) -Select (default p): Partition number (1-4, default 1): First sector (7-102399, default 7): Last sector, +sectors or +size{K,M,G,T,P} (7-102399, default 102399): +Select (default p): Partition number (1-4, default 1): First sector (7-102399, default 7): Last sector, +/-sectors or +/-size{K,M,G,T,P} (7-102399, default 102399): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) -Select (default p): Partition number (2-4, default 2): First sector (20487-102399, default 20487): Last sector, +sectors or +size{K,M,G,T,P} (20487-102399, default 102399): +Select (default p): Partition number (2-4, default 2): First sector (20487-102399, default 20487): Last sector, +/-sectors or +/-size{K,M,G,T,P} (20487-102399, default 102399): Created a new . Command (m for help): Partition type p primary (2 primary, 0 extended, 2 free) e extended (container for logical partitions) -Select (default p): Partition number (3,4, default 3): First sector (40967-102399, default 40967): Last sector, +sectors or +size{K,M,G,T,P} (40967-102399, default 102399): +Select (default p): Partition number (3,4, default 3): First sector (40967-102399, default 40967): Last sector, +/-sectors or +/-size{K,M,G,T,P} (40967-102399, default 102399): Created a new . Command (m for help): Partition type @@ -30,22 +30,22 @@ Command (m for help): Partition type e extended (container for logical partitions) Select (default e): Selected partition 4 -First sector (61447-102399, default 61447): Last sector, +sectors or +size{K,M,G,T,P} (61447-102399, default 102399): +First sector (61447-102399, default 61447): Last sector, +/-sectors or +/-size{K,M,G,T,P} (61447-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 5 -First sector (61454-102399, default 63487): Last sector, +sectors or +size{K,M,G,T,P} (63487-102399, default 102399): +First sector (61454-102399, default 63487): Last sector, +/-sectors or +/-size{K,M,G,T,P} (63487-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 6 -First sector (61454-102399, default 75775): Last sector, +sectors or +size{K,M,G,T,P} (75775-102399, default 102399): +First sector (61454-102399, default 75775): Last sector, +/-sectors or +/-size{K,M,G,T,P} (75775-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 7 -First sector (61454-102399, default 88063): Last sector, +sectors or +size{K,M,G,T,P} (88063-102399, default 102399): +First sector (61454-102399, default 88063): Last sector, +/-sectors or +/-size{K,M,G,T,P} (88063-102399, default 102399): Created a new . Command (m for help): Disk : 50 MiB, 52428800 bytes, 102400 sectors diff --git a/tests/expected/fdisk/align-512-4K-md b/tests/expected/fdisk/align-512-4K-md index caca03154..217e63035 100644 --- a/tests/expected/fdisk/align-512-4K-md +++ b/tests/expected/fdisk/align-512-4K-md @@ -10,13 +10,13 @@ Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) -Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-102399, default 102399): +Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102399, default 102399): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) -Select (default p): Partition number (2-4, default 2): First sector (43008-102399, default 43008): Last sector, +sectors or +size{K,M,G,T,P} (43008-102399, default 102399): +Select (default p): Partition number (2-4, default 2): First sector (43008-102399, default 43008): Last sector, +/-sectors or +/-size{K,M,G,T,P} (43008-102399, default 102399): Created a new . Command (m for help): Disk : 50 MiB, 52428800 bytes, 102400 sectors @@ -49,13 +49,13 @@ Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) -Select (default p): Partition number (1-4, default 1): First sector (2048-100095, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-100095, default 100095): +Select (default p): Partition number (1-4, default 1): First sector (2048-100095, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-100095, default 100095): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) -Select (default p): Partition number (2-4, default 2): First sector (22528-100095, default 22528): Last sector, +sectors or +size{K,M,G,T,P} (22528-100095, default 100095): +Select (default p): Partition number (2-4, default 2): First sector (22528-100095, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-100095, default 100095): Created a new . Command (m for help): Disk : 48.9 MiB, 51249152 bytes, 100096 sectors diff --git a/tests/expected/fdisk/align-512-512 b/tests/expected/fdisk/align-512-512 index ea24ba4ff..083641f47 100644 --- a/tests/expected/fdisk/align-512-512 +++ b/tests/expected/fdisk/align-512-512 @@ -10,19 +10,19 @@ Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) -Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-102399, default 102399): +Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102399, default 102399): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) -Select (default p): Partition number (2-4, default 2): First sector (22528-102399, default 22528): Last sector, +sectors or +size{K,M,G,T,P} (22528-102399, default 102399): +Select (default p): Partition number (2-4, default 2): First sector (22528-102399, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102399, default 102399): Created a new . Command (m for help): Partition type p primary (2 primary, 0 extended, 2 free) e extended (container for logical partitions) -Select (default p): Partition number (3,4, default 3): First sector (43008-102399, default 43008): Last sector, +sectors or +size{K,M,G,T,P} (43008-102399, default 102399): +Select (default p): Partition number (3,4, default 3): First sector (43008-102399, default 43008): Last sector, +/-sectors or +/-size{K,M,G,T,P} (43008-102399, default 102399): Created a new . Command (m for help): Partition type @@ -30,22 +30,22 @@ Command (m for help): Partition type e extended (container for logical partitions) Select (default e): Selected partition 4 -First sector (63488-102399, default 63488): Last sector, +sectors or +size{K,M,G,T,P} (63488-102399, default 102399): +First sector (63488-102399, default 63488): Last sector, +/-sectors or +/-size{K,M,G,T,P} (63488-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 5 -First sector (65536-102399, default 65536): Last sector, +sectors or +size{K,M,G,T,P} (65536-102399, default 102399): +First sector (65536-102399, default 65536): Last sector, +/-sectors or +/-size{K,M,G,T,P} (65536-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 6 -First sector (77824-102399, default 77824): Last sector, +sectors or +size{K,M,G,T,P} (77824-102399, default 102399): +First sector (77824-102399, default 77824): Last sector, +/-sectors or +/-size{K,M,G,T,P} (77824-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 7 -First sector (90112-102399, default 90112): Last sector, +sectors or +size{K,M,G,T,P} (90112-102399, default 102399): +First sector (90112-102399, default 90112): Last sector, +/-sectors or +/-size{K,M,G,T,P} (90112-102399, default 102399): Created a new . Command (m for help): Disk : 50 MiB, 52428800 bytes, 102400 sectors diff --git a/tests/expected/fdisk/align-512-512-topology b/tests/expected/fdisk/align-512-512-topology index 7856dcc04..758ad46e3 100644 --- a/tests/expected/fdisk/align-512-512-topology +++ b/tests/expected/fdisk/align-512-512-topology @@ -10,19 +10,19 @@ Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) -Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-102399, default 102399): +Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102399, default 102399): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) -Select (default p): Partition number (2-4, default 2): First sector (22528-102399, default 22528): Last sector, +sectors or +size{K,M,G,T,P} (22528-102399, default 102399): +Select (default p): Partition number (2-4, default 2): First sector (22528-102399, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102399, default 102399): Created a new . Command (m for help): Partition type p primary (2 primary, 0 extended, 2 free) e extended (container for logical partitions) -Select (default p): Partition number (3,4, default 3): First sector (43008-102399, default 43008): Last sector, +sectors or +size{K,M,G,T,P} (43008-102399, default 102399): +Select (default p): Partition number (3,4, default 3): First sector (43008-102399, default 43008): Last sector, +/-sectors or +/-size{K,M,G,T,P} (43008-102399, default 102399): Created a new . Command (m for help): Partition type @@ -30,22 +30,22 @@ Command (m for help): Partition type e extended (container for logical partitions) Select (default e): Selected partition 4 -First sector (63488-102399, default 63488): Last sector, +sectors or +size{K,M,G,T,P} (63488-102399, default 102399): +First sector (63488-102399, default 63488): Last sector, +/-sectors or +/-size{K,M,G,T,P} (63488-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 5 -First sector (65536-102399, default 65536): Last sector, +sectors or +size{K,M,G,T,P} (65536-102399, default 102399): +First sector (65536-102399, default 65536): Last sector, +/-sectors or +/-size{K,M,G,T,P} (65536-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 6 -First sector (77824-102399, default 77824): Last sector, +sectors or +size{K,M,G,T,P} (77824-102399, default 102399): +First sector (77824-102399, default 77824): Last sector, +/-sectors or +/-size{K,M,G,T,P} (77824-102399, default 102399): Created a new . Command (m for help): All primary partitions are in use. Adding logical partition 7 -First sector (90112-102399, default 90112): Last sector, +sectors or +size{K,M,G,T,P} (90112-102399, default 102399): +First sector (90112-102399, default 90112): Last sector, +/-sectors or +/-size{K,M,G,T,P} (90112-102399, default 102399): Created a new . Command (m for help): Disk : 50 MiB, 52428800 bytes, 102400 sectors diff --git a/tests/expected/fdisk/gpt-resize b/tests/expected/fdisk/gpt-resize index 239213c2a..0b3c25a27 100644 --- a/tests/expected/fdisk/gpt-resize +++ b/tests/expected/fdisk/gpt-resize @@ -28,7 +28,7 @@ Be careful before using the write command. GPT PMBR size mismatch (20479 != 40959) will be corrected by write. The backup GPT table is not on the end of the device. This problem will be corrected by write. -Command (m for help): Partition number (2-128, default 2): First sector (20447-40926, default 20480): Last sector, +sectors or +size{K,M,G,T,P} (20480-40926, default 40926): +Command (m for help): Partition number (2-128, default 2): First sector (20447-40926, default 20480): Last sector, +/-sectors or +/-size{K,M,G,T,P} (20480-40926, default 40926): Created a new . Command (m for help): The partition table has been altered. diff --git a/tests/expected/fdisk/sunlabel b/tests/expected/fdisk/sunlabel index 9d294f30d..47b5e756b 100644 --- a/tests/expected/fdisk/sunlabel +++ b/tests/expected/fdisk/sunlabel @@ -59,7 +59,7 @@ Changes will remain in memory only, until you decide to write them. Be careful before using the write command. -Command (m for help): Partition number (2-8, default 2): First cylinder (128-325, default 128): Last cylinder or +cylinders or +size{K,M,G,T,P} (128-325, default 325): +Command (m for help): Partition number (2-8, default 2): First cylinder (128-325, default 128): Last cylinder or +/-cylinders or +/-size{K,M,G,T,P} (128-325, default 325): Created a new . Command (m for help): The partition table has been altered. -- cgit v1.2.3-55-g7522