summaryrefslogtreecommitdiffstats
path: root/tests/expected/sfdisk
diff options
context:
space:
mode:
authorKarel Zak2015-04-16 18:01:32 +0200
committerKarel Zak2015-04-16 18:01:32 +0200
commit2daf61b734f00e69da576844258d3cc437359604 (patch)
treec7526f84fbf4725e3b3e8fabc9df57db110cd1ec /tests/expected/sfdisk
parentsfdisk: accept empty partitions from dump (diff)
downloadkernel-qcow2-util-linux-2daf61b734f00e69da576844258d3cc437359604.tar.gz
kernel-qcow2-util-linux-2daf61b734f00e69da576844258d3cc437359604.tar.xz
kernel-qcow2-util-linux-2daf61b734f00e69da576844258d3cc437359604.zip
tests: add old dump for sfdisk
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/sfdisk')
-rw-r--r--tests/expected/sfdisk/dos-dump-gaps24
-rw-r--r--tests/expected/sfdisk/dos-dump-old23
2 files changed, 47 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/dos-dump-gaps b/tests/expected/sfdisk/dos-dump-gaps
new file mode 100644
index 000000000..85870301a
--- /dev/null
+++ b/tests/expected/sfdisk/dos-dump-gaps
@@ -0,0 +1,24 @@
+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: Ignoring partition.
+<removed>3: Created a new <removed>.
+<removed>4: Ignoring partition.
+All partitions used.
+
+New situation:
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 * 2048 52046 49999 24.4M 83 Linux
+<removed>3 52048 102046 49999 24.4M 83 Linux
+
+The partition table has been altered.
+Calling ioctl() to re-read partition table.
+Syncing disks.
diff --git a/tests/expected/sfdisk/dos-dump-old b/tests/expected/sfdisk/dos-dump-old
new file mode 100644
index 000000000..e6835f9b3
--- /dev/null
+++ b/tests/expected/sfdisk/dos-dump-old
@@ -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
+
+>>> Script header accepted.
+>>> Created a new <removed>.
+Created a new <removed>.
+<removed>2: Ignoring partition.
+<removed>3: Ignoring partition.
+<removed>4: Ignoring partition.
+All partitions used.
+
+New situation:
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 * 2048 52046 49999 24.4M 83 Linux
+
+The partition table has been altered.
+Calling ioctl() to re-read partition table.
+Syncing disks.