summaryrefslogtreecommitdiffstats
path: root/tests/expected/libfdisk
diff options
context:
space:
mode:
authorKarel Zak2017-07-19 11:42:50 +0200
committerKarel Zak2017-07-19 12:19:38 +0200
commitea36907965313ca70ec6d803814aeba02a89667e (patch)
treef0a39f7699f7f06f27fd152aa24ffeaa8d65de4c /tests/expected/libfdisk
parentlibfdisk: add fdisk_disable_dialogs() (diff)
downloadkernel-qcow2-util-linux-ea36907965313ca70ec6d803814aeba02a89667e.tar.gz
kernel-qcow2-util-linux-ea36907965313ca70ec6d803814aeba02a89667e.tar.xz
kernel-qcow2-util-linux-ea36907965313ca70ec6d803814aeba02a89667e.zip
libfdisk: support default partno in mkpart-fullspec sample
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/libfdisk')
-rw-r--r--tests/expected/libfdisk/mkpart-full-gpt-nopartno30
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-nopartno33
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno21
3 files changed, 84 insertions, 0 deletions
diff --git a/tests/expected/libfdisk/mkpart-full-gpt-nopartno b/tests/expected/libfdisk/mkpart-full-gpt-nopartno
new file mode 100644
index 000000000..2c1423b75
--- /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-mbr-nopartno b/tests/expected/libfdisk/mkpart-full-mbr-nopartno
new file mode 100644
index 000000000..23f7ad5a7
--- /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-primary-nopartno b/tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno
new file mode 100644
index 000000000..90a71f3ab
--- /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