diff options
Diffstat (limited to '')
-rw-r--r-- | tests/expected/sfdisk/dos-resize | 24 | ||||
-rw-r--r-- | tests/expected/sfdisk/dos-resize-empty-extended | 26 | ||||
-rw-r--r-- | tests/expected/sfdisk/dos-resize-extended | 34 | ||||
-rw-r--r-- | tests/expected/sfdisk/dos-resize-logical | 34 |
4 files changed, 118 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/dos-resize b/tests/expected/sfdisk/dos-resize new file mode 100644 index 0000000..a39b940 --- /dev/null +++ b/tests/expected/sfdisk/dos-resize @@ -0,0 +1,24 @@ +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 +Disklabel type: dos +Disk identifier: <removed> + +Old situation: + +Device Boot Start End Sectors Size Id Type +<removed>1 * 2048 22527 20480 10M 82 Linux swap / Solaris + +<removed>1: +New situation: +Disklabel type: dos +Disk identifier: <removed> + +Device Boot Start End Sectors Size Id Type +<removed>1 * 2048 102399 100352 49M 82 Linux swap / Solaris + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. diff --git a/tests/expected/sfdisk/dos-resize-empty-extended b/tests/expected/sfdisk/dos-resize-empty-extended new file mode 100644 index 0000000..14cecbe --- /dev/null +++ b/tests/expected/sfdisk/dos-resize-empty-extended @@ -0,0 +1,26 @@ +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 +Disklabel type: dos +Disk identifier: <removed> + +Old situation: + +Device Boot Start End Sectors Size Id Type +<removed>1 2048 4095 2048 1M 83 Linux +<removed>2 4096 8191 4096 2M 5 Extended + +<removed>2: +New situation: +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 102399 98304 48M 5 Extended + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. diff --git a/tests/expected/sfdisk/dos-resize-extended b/tests/expected/sfdisk/dos-resize-extended new file mode 100644 index 0000000..90dce82 --- /dev/null +++ b/tests/expected/sfdisk/dos-resize-extended @@ -0,0 +1,34 @@ +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 +Disklabel type: dos +Disk identifier: <removed> + +Old situation: + +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 18431 10240 5M 5 Extended +<removed>5 10240 12287 2048 1M 83 Linux +<removed>6 14336 16383 2048 1M 83 Linux + +<removed>4: +New situation: +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 102399 94208 46M 5 Extended +<removed>5 10240 12287 2048 1M 83 Linux +<removed>6 14336 16383 2048 1M 83 Linux + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. diff --git a/tests/expected/sfdisk/dos-resize-logical b/tests/expected/sfdisk/dos-resize-logical new file mode 100644 index 0000000..e3b805a --- /dev/null +++ b/tests/expected/sfdisk/dos-resize-logical @@ -0,0 +1,34 @@ +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 +Disklabel type: dos +Disk identifier: <removed> + +Old situation: + +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 28671 20480 10M 5 Extended +<removed>5 10240 12287 2048 1M 83 Linux +<removed>6 14336 16383 2048 1M 83 Linux + +<removed>6: +New situation: +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 28671 20480 10M 5 Extended +<removed>5 10240 12287 2048 1M 83 Linux +<removed>6 14336 28671 14336 7M 83 Linux + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. |