diff options
author | Karel Zak | 2015-04-13 10:56:03 +0200 |
---|---|---|
committer | Karel Zak | 2015-04-13 10:58:10 +0200 |
commit | 531dfb14d423ecb2c3284f533745421da5bd189c (patch) | |
tree | 2f08060ebf02a986f5534decf38e52b44f5a20d6 /tests/expected/sfdisk | |
parent | tests: require wipefs for sfdisk/gpt (diff) | |
download | kernel-qcow2-util-linux-531dfb14d423ecb2c3284f533745421da5bd189c.tar.gz kernel-qcow2-util-linux-531dfb14d423ecb2c3284f533745421da5bd189c.tar.xz kernel-qcow2-util-linux-531dfb14d423ecb2c3284f533745421da5bd189c.zip |
tests: add sfdisk resize tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/sfdisk')
-rw-r--r-- | tests/expected/sfdisk/dos-resize | 23 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-resize | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/dos-resize b/tests/expected/sfdisk/dos-resize new file mode 100644 index 000000000..3ce02ec46 --- /dev/null +++ b/tests/expected/sfdisk/dos-resize @@ -0,0 +1,23 @@ +Checking that no-one is using this disk right now ... OK + +Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 4096 bytes +I/O size (minimum/optimal): 4096 bytes / 32768 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: + +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/gpt-resize b/tests/expected/sfdisk/gpt-resize new file mode 100644 index 000000000..dbe41ba61 --- /dev/null +++ b/tests/expected/sfdisk/gpt-resize @@ -0,0 +1,23 @@ +Checking that no-one is using this disk right now ... OK + +Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 4096 bytes +I/O size (minimum/optimal): 4096 bytes / 32768 bytes +Disklabel type: gpt +Disk identifier: <removed> + +Old situation: + +Device Start End Sectors Size Type +<removed>1 2048 22527 20480 10M Linux swap + +<removed>1: +New situation: + +Device Start End Sectors Size Type +<removed>1 2048 102366 100319 49M Linux swap + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. |