From: Karel Zak Date: Wed, 19 May 2010 09:16:50 +0000 (+0200) Subject: tests: update fdisk tests X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b541b8ec56b5783ee7f9aec505a916a98e99f61f;p=util-linux tests: update fdisk tests Signed-off-by: Karel Zak --- diff --git a/tests/expected/fdisk/align-512-4K b/tests/expected/fdisk/align-512-4K index 9613e176..0857e378 100644 --- a/tests/expected/fdisk/align-512-4K +++ b/tests/expected/fdisk/align-512-4K @@ -21,17 +21,17 @@ Command (m for help): Changing display/entry units to sectors Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (2048-102399, default 2048): Using default value 2048 +Partition number (1-4, default 1): First sector (2048-102399, default 2048): Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-102399, default 102399): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (22528-102399, default 22528): Using default value 22528 +Partition number (1-4, default 2): First sector (22528-102399, default 22528): Using default value 22528 Last sector, +sectors or +size{K,M,G} (22528-102399, default 102399): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (43008-102399, default 43008): Using default value 43008 +Partition number (1-4, default 3): First sector (43008-102399, default 43008): Using default value 43008 Last sector, +sectors or +size{K,M,G} (43008-102399, default 102399): Command (m for help): Command action e extended diff --git a/tests/expected/fdisk/align-512-4K-63 b/tests/expected/fdisk/align-512-4K-63 index 95e3bd9b..75998891 100644 --- a/tests/expected/fdisk/align-512-4K-63 +++ b/tests/expected/fdisk/align-512-4K-63 @@ -21,17 +21,17 @@ Command (m for help): Changing display/entry units to sectors Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (7-102399, default 7): Using default value 7 +Partition number (1-4, default 1): First sector (7-102399, default 7): Using default value 7 Last sector, +sectors or +size{K,M,G} (7-102399, default 102399): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (20487-102399, default 20487): Using default value 20487 +Partition number (1-4, default 2): First sector (20487-102399, default 20487): Using default value 20487 Last sector, +sectors or +size{K,M,G} (20487-102399, default 102399): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (40967-102399, default 40967): Using default value 40967 +Partition number (1-4, default 3): First sector (40967-102399, default 40967): Using default value 40967 Last sector, +sectors or +size{K,M,G} (40967-102399, default 102399): Command (m for help): Command action e extended diff --git a/tests/expected/fdisk/align-512-4K-md b/tests/expected/fdisk/align-512-4K-md index 026b94a6..4ac8ccc7 100644 --- a/tests/expected/fdisk/align-512-4K-md +++ b/tests/expected/fdisk/align-512-4K-md @@ -21,12 +21,12 @@ Command (m for help): Changing display/entry units to sectors Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (2048-102399, default 2048): Using default value 2048 +Partition number (1-4, default 1): First sector (2048-102399, default 2048): Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-102399, default 102399): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (43008-102399, default 43008): Using default value 43008 +Partition number (1-4, default 2): First sector (43008-102399, default 43008): Using default value 43008 Last sector, +sectors or +size{K,M,G} (43008-102399, default 102399): Using default value 102399 Command (m for help): @@ -71,12 +71,12 @@ Command (m for help): Changing display/entry units to sectors Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (2048-100095, default 2048): Using default value 2048 +Partition number (1-4, default 1): First sector (2048-100095, default 2048): Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-100095, default 100095): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (22528-100095, default 22528): Using default value 22528 +Partition number (1-4, default 2): First sector (22528-100095, default 22528): Using default value 22528 Last sector, +sectors or +size{K,M,G} (22528-100095, default 100095): Command (m for help): Disk /dev/md8: 51 MB, 51249152 bytes diff --git a/tests/expected/fdisk/align-512-512 b/tests/expected/fdisk/align-512-512 index e984d6bc..6f49256e 100644 --- a/tests/expected/fdisk/align-512-512 +++ b/tests/expected/fdisk/align-512-512 @@ -17,17 +17,17 @@ Command (m for help): Changing display/entry units to sectors Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (2048-102399, default 2048): Using default value 2048 +Partition number (1-4, default 1): First sector (2048-102399, default 2048): Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-102399, default 102399): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (22528-102399, default 22528): Using default value 22528 +Partition number (1-4, default 2): First sector (22528-102399, default 22528): Using default value 22528 Last sector, +sectors or +size{K,M,G} (22528-102399, default 102399): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (43008-102399, default 43008): Using default value 43008 +Partition number (1-4, default 3): First sector (43008-102399, default 43008): Using default value 43008 Last sector, +sectors or +size{K,M,G} (43008-102399, default 102399): Command (m for help): Command action e extended diff --git a/tests/expected/fdisk/align-512-512-topology b/tests/expected/fdisk/align-512-512-topology index 91cd1b4f..c99a1745 100644 --- a/tests/expected/fdisk/align-512-512-topology +++ b/tests/expected/fdisk/align-512-512-topology @@ -17,17 +17,17 @@ Command (m for help): Changing display/entry units to sectors Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (2048-102399, default 2048): Using default value 2048 +Partition number (1-4, default 1): First sector (2048-102399, default 2048): Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-102399, default 102399): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (22528-102399, default 22528): Using default value 22528 +Partition number (1-4, default 2): First sector (22528-102399, default 22528): Using default value 22528 Last sector, +sectors or +size{K,M,G} (22528-102399, default 102399): Command (m for help): Command action e extended p primary partition (1-4) -Partition number (1-4): First sector (43008-102399, default 43008): Using default value 43008 +Partition number (1-4, default 3): First sector (43008-102399, default 43008): Using default value 43008 Last sector, +sectors or +size{K,M,G} (43008-102399, default 102399): Command (m for help): Command action e extended