summaryrefslogtreecommitdiffstats
path: root/tests/expected/libfdisk/mkpart
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/expected/libfdisk/mkpart0
-rw-r--r--tests/expected/libfdisk/mkpart-full0
-rw-r--r--tests/expected/libfdisk/mkpart-full-gpt30
-rw-r--r--tests/expected/libfdisk/mkpart-full-gpt-err-overlap14
-rw-r--r--tests/expected/libfdisk/mkpart-full-gpt-nopartno30
-rw-r--r--tests/expected/libfdisk/mkpart-full-gpt-partno-gap30
-rw-r--r--tests/expected/libfdisk/mkpart-full-gpt-space-gap24
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-err-logical18
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-err-nospace12
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-err-primary12
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-logical33
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-nopartno33
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-partno-gap26
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-primary21
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno21
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-space-gap18
-rw-r--r--tests/expected/libfdisk/mkpart-gpt23
-rw-r--r--tests/expected/libfdisk/mkpart-mbr17
-rw-r--r--tests/expected/libfdisk/mkpart-mbr-logic26
-rw-r--r--tests/expected/libfdisk/mkpart-mbr-nopartno26
20 files changed, 414 insertions, 0 deletions
diff --git a/tests/expected/libfdisk/mkpart b/tests/expected/libfdisk/mkpart
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart
diff --git a/tests/expected/libfdisk/mkpart-full b/tests/expected/libfdisk/mkpart-full
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full
diff --git a/tests/expected/libfdisk/mkpart-full-gpt b/tests/expected/libfdisk/mkpart-full-gpt
new file mode 100644
index 0000000..d33483a
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-gpt
@@ -0,0 +1,30 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=4096,size=2048>
+Requested partition: <partno=2,start=6144,size=2048>
+Requested partition: <partno=3,start=8192,size=2048>
+Requested partition: <partno=4,start=10240,size=2048>
+Requested partition: <partno=5,start=12288,size=2048>
+Requested partition: <partno=6,start=14336,size=2048>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <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..6733392
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-gpt-err-overlap
@@ -0,0 +1,14 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=4096,size=2048>
+Requested partition: <partno=2,start=6144,size=2048>
+Requested partition: <partno=3,start=5000,size=2048>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Sector 5000 already used.
+sample-fdisk-mkpart-fullspec: failed to add #4 partition
+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-nopartno b/tests/expected/libfdisk/mkpart-full-gpt-nopartno
new file mode 100644
index 0000000..2c1423b
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-gpt-nopartno
@@ -0,0 +1,30 @@
+Requested partition: <partno=<default>,start=2048,size=2048>
+Requested partition: <partno=<default>,start=4096,size=2048>
+Requested partition: <partno=<default>,start=6144,size=2048>
+Requested partition: <partno=<default>,start=8192,size=2048>
+Requested partition: <partno=<default>,start=10240,size=2048>
+Requested partition: <partno=<default>,start=12288,size=2048>
+Requested partition: <partno=<default>,start=14336,size=2048>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <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..b142b5e
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-gpt-partno-gap
@@ -0,0 +1,30 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=4096,size=2048>
+Requested partition: <partno=3,start=6144,size=2048>
+Requested partition: <partno=4,start=8192,size=2048>
+Requested partition: <partno=6,start=10240,size=2048>
+Requested partition: <partno=7,start=12288,size=2048>
+Requested partition: <partno=8,start=14336,size=2048>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <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..c26f289
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-gpt-space-gap
@@ -0,0 +1,24 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=6144,size=2048>
+Requested partition: <partno=2,start=8192,size=2048>
+Requested partition: <partno=3,start=12288,size=2048>
+Requested partition: <partno=4,start=14336,size=2048>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <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
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-err-logical b/tests/expected/libfdisk/mkpart-full-mbr-err-logical
new file mode 100644
index 0000000..c2c0b0d
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-mbr-err-logical
@@ -0,0 +1,18 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=4096,size=2048>
+Requested partition: <partno=2,start=6144,size=2048>
+Requested partition: <partno=3,start=8192,size=22528>
+Requested partition: <partno=4,start=10240,size=2048>
+Requested partition: <partno=5,start=4096,size=2048>
+sample-fdisk-mkpart-fullspec: failed to add #6 partition
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Adding logical partition 5
+Created a new <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
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-err-nospace b/tests/expected/libfdisk/mkpart-full-mbr-err-nospace
new file mode 100644
index 0000000..d7a0065
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-mbr-err-nospace
@@ -0,0 +1,12 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=4096,size=2048>
+Requested partition: <partno=2,start=4096,size=2048>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Start sector 4096 out of range.
+sample-fdisk-mkpart-fullspec: failed to add #3 partition
+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-mbr-err-primary b/tests/expected/libfdisk/mkpart-full-mbr-err-primary
new file mode 100644
index 0000000..1142f65
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-mbr-err-primary
@@ -0,0 +1,12 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=4096,size=2048>
+Requested partition: <partno=6,start=6144,size=2048>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Extended partition does not exists. Failed to add logical partition.
+sample-fdisk-mkpart-fullspec: failed to add #7 partition
+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-mbr-logical b/tests/expected/libfdisk/mkpart-full-mbr-logical
new file mode 100644
index 0000000..97e7a4a
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-mbr-logical
@@ -0,0 +1,33 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=4096,size=2048>
+Requested partition: <partno=2,start=6144,size=2048>
+Requested partition: <partno=3,start=8192,size=22528>
+Requested partition: <partno=4,start=10240,size=2048>
+Requested partition: <partno=5,start=14336,size=2048>
+Requested partition: <partno=6,start=18432,size=12288>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Adding logical partition 5
+Created a new <removed>.
+Adding logical partition 6
+Created a new <removed>.
+Adding logical partition 7
+Created a new <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: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>2 4096 6143 2048 1M 83 Linux
+<removed>3 6144 8191 2048 1M 83 Linux
+<removed>4 8192 30719 22528 11M 5 Extended
+<removed>5 10240 12287 2048 1M 83 Linux
+<removed>6 14336 16383 2048 1M 83 Linux
+<removed>7 18432 30719 12288 6M 83 Linux
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-nopartno b/tests/expected/libfdisk/mkpart-full-mbr-nopartno
new file mode 100644
index 0000000..23f7ad5
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-mbr-nopartno
@@ -0,0 +1,33 @@
+Requested partition: <partno=<default>,start=2048,size=2048>
+Requested partition: <partno=<default>,start=4096,size=2048>
+Requested partition: <partno=<default>,start=6144,size=2048>
+Requested partition: <partno=<default>,start=8192,size=22528>
+Requested partition: <partno=<default>,start=10240,size=2048>
+Requested partition: <partno=<default>,start=14336,size=2048>
+Requested partition: <partno=<default>,start=18432,size=12288>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Adding logical partition 5
+Created a new <removed>.
+Adding logical partition 6
+Created a new <removed>.
+Adding logical partition 7
+Created a new <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: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>2 4096 6143 2048 1M 83 Linux
+<removed>3 6144 8191 2048 1M 83 Linux
+<removed>4 8192 30719 22528 11M 5 Extended
+<removed>5 10240 12287 2048 1M 83 Linux
+<removed>6 14336 16383 2048 1M 83 Linux
+<removed>7 18432 30719 12288 6M 83 Linux
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-partno-gap b/tests/expected/libfdisk/mkpart-full-mbr-partno-gap
new file mode 100644
index 0000000..7f5fab5
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-mbr-partno-gap
@@ -0,0 +1,26 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=2,start=4096,size=2048>
+Requested partition: <partno=3,start=6144,size=24576>
+Requested partition: <partno=4,start=10240,size=2048>
+Requested partition: <partno=5,start=14336,size=2048>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Adding logical partition 5
+Created a new <removed>.
+Adding logical partition 6
+Created a new <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: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>3 4096 6143 2048 1M 83 Linux
+<removed>4 6144 30719 24576 12M 5 Extended
+<removed>5 10240 12287 2048 1M 83 Linux
+<removed>6 14336 16383 2048 1M 83 Linux
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-primary b/tests/expected/libfdisk/mkpart-full-mbr-primary
new file mode 100644
index 0000000..31e8434
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-mbr-primary
@@ -0,0 +1,21 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=4096,size=2048>
+Requested partition: <partno=2,start=6144,size=2048>
+Requested partition: <partno=3,start=8192,size=22528>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <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: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>2 4096 6143 2048 1M 83 Linux
+<removed>3 6144 8191 2048 1M 83 Linux
+<removed>4 8192 30719 22528 11M 83 Linux
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno b/tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno
new file mode 100644
index 0000000..90a71f3
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno
@@ -0,0 +1,21 @@
+Requested partition: <partno=<default>,start=2048,size=2048>
+Requested partition: <partno=<default>,start=4096,size=2048>
+Requested partition: <partno=<default>,start=6144,size=2048>
+Requested partition: <partno=<default>,start=8192,size=22528>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <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: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>2 4096 6143 2048 1M 83 Linux
+<removed>3 6144 8191 2048 1M 83 Linux
+<removed>4 8192 30719 22528 11M 83 Linux
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-space-gap b/tests/expected/libfdisk/mkpart-full-mbr-space-gap
new file mode 100644
index 0000000..45d4507
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-full-mbr-space-gap
@@ -0,0 +1,18 @@
+Requested partition: <partno=0,start=2048,size=2048>
+Requested partition: <partno=1,start=6144,size=2048>
+Requested partition: <partno=2,start=8192,size=2048>
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <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: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>2 6144 8191 2048 1M 83 Linux
+<removed>3 8192 10239 2048 1M 83 Linux
diff --git a/tests/expected/libfdisk/mkpart-gpt b/tests/expected/libfdisk/mkpart-gpt
new file mode 100644
index 0000000..3634695
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-gpt
@@ -0,0 +1,23 @@
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <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 30686 16351 8M Linux filesystem
diff --git a/tests/expected/libfdisk/mkpart-mbr b/tests/expected/libfdisk/mkpart-mbr
new file mode 100644
index 0000000..0212000
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-mbr
@@ -0,0 +1,17 @@
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <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: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>2 4096 6143 2048 1M 83 Linux
+<removed>3 6144 8191 2048 1M 83 Linux
+<removed>4 8192 30719 22528 11M 83 Linux
diff --git a/tests/expected/libfdisk/mkpart-mbr-logic b/tests/expected/libfdisk/mkpart-mbr-logic
new file mode 100644
index 0000000..178eaf2
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-mbr-logic
@@ -0,0 +1,26 @@
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Adding logical partition 5
+Created a new <removed>.
+Adding logical partition 6
+Created a new <removed>.
+Adding logical partition 7
+Created a new <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: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>2 4096 6143 2048 1M 83 Linux
+<removed>3 6144 8191 2048 1M 83 Linux
+<removed>4 8192 30719 22528 11M 5 Extended
+<removed>5 10240 12287 2048 1M 83 Linux
+<removed>6 14336 16383 2048 1M 83 Linux
+<removed>7 18432 30719 12288 6M 83 Linux
diff --git a/tests/expected/libfdisk/mkpart-mbr-nopartno b/tests/expected/libfdisk/mkpart-mbr-nopartno
new file mode 100644
index 0000000..178eaf2
--- /dev/null
+++ b/tests/expected/libfdisk/mkpart-mbr-nopartno
@@ -0,0 +1,26 @@
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Adding logical partition 5
+Created a new <removed>.
+Adding logical partition 6
+Created a new <removed>.
+Adding logical partition 7
+Created a new <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: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>2 4096 6143 2048 1M 83 Linux
+<removed>3 6144 8191 2048 1M 83 Linux
+<removed>4 8192 30719 22528 11M 5 Extended
+<removed>5 10240 12287 2048 1M 83 Linux
+<removed>6 14336 16383 2048 1M 83 Linux
+<removed>7 18432 30719 12288 6M 83 Linux