summaryrefslogtreecommitdiffstats
path: root/tests/expected/sfdisk
diff options
context:
space:
mode:
authorKarel Zak2014-10-09 14:08:59 +0200
committerKarel Zak2014-10-09 14:08:59 +0200
commit9368018ff0d484ceaeda02b200ee71627f4d4580 (patch)
treee37c4502f85cddb9b1a1184d3dc6b3ce57abe082 /tests/expected/sfdisk
parentlibfdisk: (dos) reset logical partition stuff after error (diff)
downloadkernel-qcow2-util-linux-9368018ff0d484ceaeda02b200ee71627f4d4580.tar.gz
kernel-qcow2-util-linux-9368018ff0d484ceaeda02b200ee71627f4d4580.tar.xz
kernel-qcow2-util-linux-9368018ff0d484ceaeda02b200ee71627f4d4580.zip
tests: test cazy sizes for sfdisk
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/sfdisk')
-rw-r--r--tests/expected/sfdisk/dos-explicit-size31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/dos-explicit-size b/tests/expected/sfdisk/dos-explicit-size
new file mode 100644
index 000000000..c7a520851
--- /dev/null
+++ b/tests/expected/sfdisk/dos-explicit-size
@@ -0,0 +1,31 @@
+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
+
+>>> Script header accepted.
+>>> Created a new <removed>.
+Created a new <removed>.
+<removed>2: Created a new <removed>.
+<removed>3: Created a new <removed>.
+<removed>4: Created a new <removed>.
+<removed>5: Created a new <removed>.
+<removed>6: Created a new <removed>.
+<removed>7: Created a new <removed>.
+<removed>8:
+New situation:
+
+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.