summaryrefslogtreecommitdiffstats
path: root/tests/expected/sfdisk/dos-explicit-size
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:14:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:14:44 +0000
commit30ff6afe596eddafacf22b1a5b2d1a3d6254ea15 (patch)
tree9b788335f92174baf7ee18f03ca8330b8c19ce2b /tests/expected/sfdisk/dos-explicit-size
parentInitial commit. (diff)
downloadutil-linux-upstream.tar.xz
util-linux-upstream.zip
Adding upstream version 2.36.1.upstream/2.36.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/expected/sfdisk/dos-explicit-size36
-rw-r--r--tests/expected/sfdisk/dos-explicit-size.err7
2 files changed, 43 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/dos-explicit-size b/tests/expected/sfdisk/dos-explicit-size
new file mode 100644
index 0000000..20f421c
--- /dev/null
+++ b/tests/expected/sfdisk/dos-explicit-size
@@ -0,0 +1,36 @@
+Checking that no-one is using this disk right now ... OK
+
+Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
+Disk model: scsi_debug
+Units: sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 4096 bytes
+I/O size (minimum/optimal): 4096 bytes / <removed> bytes
+
+>>> Script header accepted.
+>>> Created a new disklabel.
+<removed>1: Created a new partition <removed>.
+<removed>2: Created a new partition <removed>.
+<removed>3: Created a new partition <removed>.
+<removed>4: Created a new partition <removed>.
+<removed>5: Created a new partition <removed>.
+<removed>6: Created a new partition <removed>.
+<removed>7: Created a new partition <removed>.
+<removed>8: Done.
+
+New situation:
+Disklabel type: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 1 1000 1000 500K 83 Linux
+<removed>2 1001 2000 1000 500K 82 Linux swap / Solaris
+<removed>3 2001 3000 1000 500K 83 Linux
+<removed>4 3001 102399 99399 48.5M 5 Extended
+<removed>5 3002 4001 1000 500K 83 Linux
+<removed>6 4003 5002 1000 500K 83 Linux
+<removed>7 5004 102399 97396 47.6M 83 Linux
+
+
+The partition table has been altered.
+Calling ioctl() to re-read partition table.
+Syncing disks.
diff --git a/tests/expected/sfdisk/dos-explicit-size.err b/tests/expected/sfdisk/dos-explicit-size.err
new file mode 100644
index 0000000..975a4ee
--- /dev/null
+++ b/tests/expected/sfdisk/dos-explicit-size.err
@@ -0,0 +1,7 @@
+Partition 1 does not start on physical sector boundary.
+Partition 2 does not start on physical sector boundary.
+Partition 3 does not start on physical sector boundary.
+Partition 4 does not start on physical sector boundary.
+Partition 5 does not start on physical sector boundary.
+Partition 6 does not start on physical sector boundary.
+Partition 7 does not start on physical sector boundary.