diff options
Diffstat (limited to '')
-rw-r--r-- | tests/expected/libfdisk/mkpart-full-gpt | 30 | ||||
-rw-r--r-- | tests/expected/libfdisk/mkpart-full-gpt-err-overlap | 12 | ||||
-rw-r--r-- | tests/expected/libfdisk/mkpart-full-gpt-err-overlap.err | 2 | ||||
-rw-r--r-- | tests/expected/libfdisk/mkpart-full-gpt-nopartno | 30 | ||||
-rw-r--r-- | tests/expected/libfdisk/mkpart-full-gpt-partno-gap | 30 | ||||
-rw-r--r-- | tests/expected/libfdisk/mkpart-full-gpt-space-gap | 24 |
6 files changed, 128 insertions, 0 deletions
diff --git a/tests/expected/libfdisk/mkpart-full-gpt b/tests/expected/libfdisk/mkpart-full-gpt new file mode 100644 index 0000000..8e78a27 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt @@ -0,0 +1,30 @@ +Created a new disklabel. +Requested partition: <partno=0,start=2048,size=2048> +Created a new partition <removed>. +Requested partition: <partno=1,start=4096,size=2048> +Created a new partition <removed>. +Requested partition: <partno=2,start=6144,size=2048> +Created a new partition <removed>. +Requested partition: <partno=3,start=8192,size=2048> +Created a new partition <removed>. +Requested partition: <partno=4,start=10240,size=2048> +Created a new partition <removed>. +Requested partition: <partno=5,start=12288,size=2048> +Created a new partition <removed>. +Requested partition: <partno=6,start=14336,size=2048> +Created a new partition <removed>. +Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / <removed> bytes +Disklabel type: gpt +Disk identifier: <removed> + +Device Start End Sectors Size Type +<removed>1 2048 4095 2048 1M Linux filesystem +<removed>2 4096 6143 2048 1M Linux filesystem +<removed>3 6144 8191 2048 1M Linux filesystem +<removed>4 8192 10239 2048 1M Linux filesystem +<removed>5 10240 12287 2048 1M Linux filesystem +<removed>6 12288 14335 2048 1M Linux filesystem +<removed>7 14336 16383 2048 1M Linux filesystem diff --git a/tests/expected/libfdisk/mkpart-full-gpt-err-overlap b/tests/expected/libfdisk/mkpart-full-gpt-err-overlap new file mode 100644 index 0000000..531606e --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt-err-overlap @@ -0,0 +1,12 @@ +Created a new disklabel. +Requested partition: <partno=0,start=2048,size=2048> +Created a new partition <removed>. +Requested partition: <partno=1,start=4096,size=2048> +Created a new partition <removed>. +Requested partition: <partno=2,start=6144,size=2048> +Created a new partition <removed>. +Requested partition: <partno=3,start=5000,size=2048> +Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / <removed> bytes diff --git a/tests/expected/libfdisk/mkpart-full-gpt-err-overlap.err b/tests/expected/libfdisk/mkpart-full-gpt-err-overlap.err new file mode 100644 index 0000000..bd62a9b --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt-err-overlap.err @@ -0,0 +1,2 @@ +Sector 5000 already used. +sample-fdisk-mkpart-fullspec: failed to add #4 partition diff --git a/tests/expected/libfdisk/mkpart-full-gpt-nopartno b/tests/expected/libfdisk/mkpart-full-gpt-nopartno new file mode 100644 index 0000000..c038c37 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt-nopartno @@ -0,0 +1,30 @@ +Created a new disklabel. +Requested partition: <partno=<default>,start=2048,size=2048> +Created a new partition <removed>. +Requested partition: <partno=<default>,start=4096,size=2048> +Created a new partition <removed>. +Requested partition: <partno=<default>,start=6144,size=2048> +Created a new partition <removed>. +Requested partition: <partno=<default>,start=8192,size=2048> +Created a new partition <removed>. +Requested partition: <partno=<default>,start=10240,size=2048> +Created a new partition <removed>. +Requested partition: <partno=<default>,start=12288,size=2048> +Created a new partition <removed>. +Requested partition: <partno=<default>,start=14336,size=2048> +Created a new partition <removed>. +Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / <removed> bytes +Disklabel type: gpt +Disk identifier: <removed> + +Device Start End Sectors Size Type +<removed>1 2048 4095 2048 1M Linux filesystem +<removed>2 4096 6143 2048 1M Linux filesystem +<removed>3 6144 8191 2048 1M Linux filesystem +<removed>4 8192 10239 2048 1M Linux filesystem +<removed>5 10240 12287 2048 1M Linux filesystem +<removed>6 12288 14335 2048 1M Linux filesystem +<removed>7 14336 16383 2048 1M Linux filesystem diff --git a/tests/expected/libfdisk/mkpart-full-gpt-partno-gap b/tests/expected/libfdisk/mkpart-full-gpt-partno-gap new file mode 100644 index 0000000..a636e28 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt-partno-gap @@ -0,0 +1,30 @@ +Created a new disklabel. +Requested partition: <partno=0,start=2048,size=2048> +Created a new partition <removed>. +Requested partition: <partno=1,start=4096,size=2048> +Created a new partition <removed>. +Requested partition: <partno=3,start=6144,size=2048> +Created a new partition <removed>. +Requested partition: <partno=4,start=8192,size=2048> +Created a new partition <removed>. +Requested partition: <partno=6,start=10240,size=2048> +Created a new partition <removed>. +Requested partition: <partno=7,start=12288,size=2048> +Created a new partition <removed>. +Requested partition: <partno=8,start=14336,size=2048> +Created a new partition <removed>. +Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / <removed> bytes +Disklabel type: gpt +Disk identifier: <removed> + +Device Start End Sectors Size Type +<removed>1 2048 4095 2048 1M Linux filesystem +<removed>2 4096 6143 2048 1M Linux filesystem +<removed>4 6144 8191 2048 1M Linux filesystem +<removed>5 8192 10239 2048 1M Linux filesystem +<removed>7 10240 12287 2048 1M Linux filesystem +<removed>8 12288 14335 2048 1M Linux filesystem +<removed>9 14336 16383 2048 1M Linux filesystem diff --git a/tests/expected/libfdisk/mkpart-full-gpt-space-gap b/tests/expected/libfdisk/mkpart-full-gpt-space-gap new file mode 100644 index 0000000..5dcdb77 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt-space-gap @@ -0,0 +1,24 @@ +Created a new disklabel. +Requested partition: <partno=0,start=2048,size=2048> +Created a new partition <removed>. +Requested partition: <partno=1,start=6144,size=2048> +Created a new partition <removed>. +Requested partition: <partno=2,start=8192,size=2048> +Created a new partition <removed>. +Requested partition: <partno=3,start=12288,size=2048> +Created a new partition <removed>. +Requested partition: <partno=4,start=14336,size=2048> +Created a new partition <removed>. +Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / <removed> bytes +Disklabel type: gpt +Disk identifier: <removed> + +Device Start End Sectors Size Type +<removed>1 2048 4095 2048 1M Linux filesystem +<removed>2 6144 8191 2048 1M Linux filesystem +<removed>3 8192 10239 2048 1M Linux filesystem +<removed>4 12288 14335 2048 1M Linux filesystem +<removed>5 14336 16383 2048 1M Linux filesystem |