diff options
author | Karel Zak | 2015-04-22 17:15:39 +0200 |
---|---|---|
committer | Karel Zak | 2015-04-22 17:31:40 +0200 |
commit | 9b4ffb45656c1430f94aaeb5886a767dd264173c (patch) | |
tree | 3f08ff50dab0af09a89adbdcd2c7ad8f6684de6d /tests/expected/sfdisk/resize-dos-7-reduce-relative | |
parent | libfdisk: fix scriptk parser to support alone signs (diff) | |
download | kernel-qcow2-util-linux-9b4ffb45656c1430f94aaeb5886a767dd264173c.tar.gz kernel-qcow2-util-linux-9b4ffb45656c1430f94aaeb5886a767dd264173c.tar.xz kernel-qcow2-util-linux-9b4ffb45656c1430f94aaeb5886a767dd264173c.zip |
tests: add sfdisk resize regression tests for MBR
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/sfdisk/resize-dos-7-reduce-relative')
-rw-r--r-- | tests/expected/sfdisk/resize-dos-7-reduce-relative | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/resize-dos-7-reduce-relative b/tests/expected/sfdisk/resize-dos-7-reduce-relative new file mode 100644 index 000000000..f01e2a920 --- /dev/null +++ b/tests/expected/sfdisk/resize-dos-7-reduce-relative @@ -0,0 +1,25 @@ +, -10M + +Checking that no-one is using this disk right now ... OK + +Disk <removed>: 100 MiB, 104857600 bytes, 204800 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / 32768 bytes +Disklabel type: dos +Disk identifier: <removed> + +Old situation: + +Device Boot Start End Sectors Size Id Type +<removed>1 2048 32767 30720 15M 83 Linux + +<removed>1: +New situation: + +Device Boot Start End Sectors Size Id Type +<removed>1 2048 12287 10240 5M 83 Linux + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. |