diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 13:14:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 13:14:44 +0000 |
commit | 30ff6afe596eddafacf22b1a5b2d1a3d6254ea15 (patch) | |
tree | 9b788335f92174baf7ee18f03ca8330b8c19ce2b /tests/expected/sfdisk/dos-read-dump | |
parent | Initial commit. (diff) | |
download | util-linux-30ff6afe596eddafacf22b1a5b2d1a3d6254ea15.tar.xz util-linux-30ff6afe596eddafacf22b1a5b2d1a3d6254ea15.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-read-dump | 35 | ||||
-rw-r--r-- | tests/expected/sfdisk/dos-read-dump-case | 24 | ||||
-rw-r--r-- | tests/expected/sfdisk/dos-read-dump.err | 2 |
3 files changed, 61 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/dos-read-dump b/tests/expected/sfdisk/dos-read-dump new file mode 100644 index 0000000..a0b0b77 --- /dev/null +++ b/tests/expected/sfdisk/dos-read-dump @@ -0,0 +1,35 @@ +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. +>>> 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: Done. + +New situation: +Disklabel type: dos +Disk identifier: <removed> + +Device Boot Start End Sectors Size Id Type +<removed>1 * 2048 8191 6144 3M 83 Linux +<removed>2 8192 14335 6144 3M 82 Linux swap / Solaris +<removed>3 14336 20479 6144 3M 83 Linux +<removed>4 20480 102399 81920 40M 5 Extended +<removed>5 20481 26624 6144 3M 83 Linux +<removed>6 26626 102399 75774 37M 83 Linux + + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. diff --git a/tests/expected/sfdisk/dos-read-dump-case b/tests/expected/sfdisk/dos-read-dump-case new file mode 100644 index 0000000..3486cb2 --- /dev/null +++ b/tests/expected/sfdisk/dos-read-dump-case @@ -0,0 +1,24 @@ +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. +>>> Script header accepted. +>>> Created a new disklabel. +<removed>1: Created a new partition <removed>. +<removed>2: Done. + +New situation: +Disklabel type: dos +Disk identifier: <removed> + +Device Boot Start End Sectors Size Id Type +<removed>1 * 2048 8191 6144 3M 83 Linux + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. diff --git a/tests/expected/sfdisk/dos-read-dump.err b/tests/expected/sfdisk/dos-read-dump.err new file mode 100644 index 0000000..48536f8 --- /dev/null +++ b/tests/expected/sfdisk/dos-read-dump.err @@ -0,0 +1,2 @@ +Partition 5 does not start on physical sector boundary. +Partition 6 does not start on physical sector boundary. |