summaryrefslogtreecommitdiffstats
path: root/tests/expected/fdisk
diff options
context:
space:
mode:
authorKarel Zak2013-03-06 14:36:23 +0100
committerKarel Zak2013-03-06 14:36:23 +0100
commit9dd068103ef0d1d37e1df98ee69374cbb8ad6bfb (patch)
treecfeda6a0d53c661a6312efda28b1e39455abf654 /tests/expected/fdisk
parenttests: add fdisk BSD test (diff)
downloadkernel-qcow2-util-linux-9dd068103ef0d1d37e1df98ee69374cbb8ad6bfb.tar.gz
kernel-qcow2-util-linux-9dd068103ef0d1d37e1df98ee69374cbb8ad6bfb.tar.xz
kernel-qcow2-util-linux-9dd068103ef0d1d37e1df98ee69374cbb8ad6bfb.zip
tests: add fdisk GPT test
Note that the test does not check on-disk data (by checksum) because the current fdisk does not allow to modify automatically generated partition and disk UUIDs. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/fdisk')
-rw-r--r--tests/expected/fdisk/gpt113
1 files changed, 113 insertions, 0 deletions
diff --git a/tests/expected/fdisk/gpt b/tests/expected/fdisk/gpt
new file mode 100644
index 000000000..2206392e6
--- /dev/null
+++ b/tests/expected/fdisk/gpt
@@ -0,0 +1,113 @@
+Initialize empty image
+Create new GPT partition table
+
+---layout----------
+WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
+
+
+__ts_dev__: 10 MB, 10485760 bytes, 20480 sectors
+Units = sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 512 bytes
+I/O size (minimum/optimal): 512 bytes / 512 bytes
+Disk label type: gpt
+
+
+# Start End Size Type Name
+-------------------
+
+Create partitions
+Change partition type by number
+
+---layout----------
+WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
+
+
+__ts_dev__: 10 MB, 10485760 bytes, 20480 sectors
+Units = sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 512 bytes
+I/O size (minimum/optimal): 512 bytes / 512 bytes
+Disk label type: gpt
+
+
+# Start End Size Type Name
+ 1 2048 4095 1M EFI System
+ 2 4096 6143 1M Linux filesyste
+ 3 6144 8191 1M Linux filesyste
+ 4 8192 10239 1M Linux filesyste
+ 5 10240 12287 1M Linux filesyste
+ 6 12288 14335 1M Linux filesyste
+ 7 14336 16383 1M Linux filesyste
+ 8 16384 18431 1M Linux filesyste
+-------------------
+
+Change partition type by UUID
+
+---layout----------
+WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
+
+
+__ts_dev__: 10 MB, 10485760 bytes, 20480 sectors
+Units = sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 512 bytes
+I/O size (minimum/optimal): 512 bytes / 512 bytes
+Disk label type: gpt
+
+
+# Start End Size Type Name
+ 1 2048 4095 1M EFI System
+ 2 4096 6143 1M Linux filesyste
+ 3 6144 8191 1M Linux filesyste
+ 4 8192 10239 1M Linux filesyste
+ 5 10240 12287 1M Linux swap
+ 6 12288 14335 1M Linux filesyste
+ 7 14336 16383 1M Linux filesyste
+ 8 16384 18431 1M Linux filesyste
+-------------------
+
+Delete partition
+
+---layout----------
+WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
+
+
+__ts_dev__: 10 MB, 10485760 bytes, 20480 sectors
+Units = sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 512 bytes
+I/O size (minimum/optimal): 512 bytes / 512 bytes
+Disk label type: gpt
+
+
+# Start End Size Type Name
+ 1 2048 4095 1M EFI System
+ 3 6144 8191 1M Linux filesyste
+ 4 8192 10239 1M Linux filesyste
+ 5 10240 12287 1M Linux swap
+ 6 12288 14335 1M Linux filesyste
+ 7 14336 16383 1M Linux filesyste
+ 8 16384 18431 1M Linux filesyste
+-------------------
+
+Create again partition
+
+---layout----------
+WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
+
+
+__ts_dev__: 10 MB, 10485760 bytes, 20480 sectors
+Units = sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 512 bytes
+I/O size (minimum/optimal): 512 bytes / 512 bytes
+Disk label type: gpt
+
+
+# Start End Size Type Name
+ 1 2048 4095 1M EFI System
+ 2 4096 6143 1M Linux filesyste
+ 3 6144 8191 1M Linux filesyste
+ 4 8192 10239 1M Linux filesyste
+ 5 10240 12287 1M Linux swap
+ 6 12288 14335 1M Linux filesyste
+ 7 14336 16383 1M Linux filesyste
+ 8 16384 18431 1M Linux filesyste
+-------------------
+