summaryrefslogtreecommitdiffstats
path: root/tests/expected/sfdisk
diff options
context:
space:
mode:
authorKarel Zak2016-10-26 14:08:29 +0200
committerKarel Zak2016-10-26 14:08:29 +0200
commitf4126f98e165f3e3457ecdb2e3777fa79463cb79 (patch)
tree8276dea5df13504a40f1f5c0ce75ce2d3417b28a /tests/expected/sfdisk
parentlibfdisk: (script) make bootable flag parsing more robust (diff)
downloadkernel-qcow2-util-linux-f4126f98e165f3e3457ecdb2e3777fa79463cb79.tar.gz
kernel-qcow2-util-linux-f4126f98e165f3e3457ecdb2e3777fa79463cb79.tar.xz
kernel-qcow2-util-linux-f4126f98e165f3e3457ecdb2e3777fa79463cb79.zip
tests: add sfdisk script case-insensitive test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/sfdisk')
-rw-r--r--tests/expected/sfdisk/dos-read-dump-case21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/dos-read-dump-case b/tests/expected/sfdisk/dos-read-dump-case
new file mode 100644
index 000000000..5d007f7db
--- /dev/null
+++ b/tests/expected/sfdisk/dos-read-dump-case
@@ -0,0 +1,21 @@
+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 / <removed> bytes
+
+>>> Script header accepted.
+>>> Script header accepted.
+>>> Created a new <removed>.
+<removed>1: Created a new <removed>.
+<removed>2: Done.
+
+New situation:
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 * 2048 8191 6144 3M 83 Linux
+
+The partition table has been altered.
+Calling ioctl() to re-read partition table.
+Syncing disks.