summaryrefslogtreecommitdiffstats
path: root/tests/expected/sfdisk
diff options
context:
space:
mode:
authorKarel Zak2014-11-07 12:29:17 +0100
committerKarel Zak2014-11-07 12:29:17 +0100
commitb549e9410437425a7c9f379d03dc333fc13c2864 (patch)
treec5c5dc3d7d2d6f67787009a4053c6f0403163449 /tests/expected/sfdisk
parentswapoff: swapoff swap files by LABEL and UUID (diff)
downloadkernel-qcow2-util-linux-b549e9410437425a7c9f379d03dc333fc13c2864.tar.gz
kernel-qcow2-util-linux-b549e9410437425a7c9f379d03dc333fc13c2864.tar.xz
kernel-qcow2-util-linux-b549e9410437425a7c9f379d03dc333fc13c2864.zip
tests: update fdisk tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/sfdisk')
-rw-r--r--tests/expected/sfdisk/dos-explicit-size8
-rw-r--r--tests/expected/sfdisk/dos-read-dump3
-rw-r--r--tests/expected/sfdisk/gpt-list-pmbr2
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/dos-explicit-size b/tests/expected/sfdisk/dos-explicit-size
index c7a520851..f951e4a9c 100644
--- a/tests/expected/sfdisk/dos-explicit-size
+++ b/tests/expected/sfdisk/dos-explicit-size
@@ -1,3 +1,10 @@
+Partition 1 does not start on physical sector boundary.
+Partition 2 does not start on physical sector boundary.
+Partition 3 does not start on physical sector boundary.
+Partition 4 does not start on physical sector boundary.
+Partition 5 does not start on physical sector boundary.
+Partition 6 does not start on physical sector boundary.
+Partition 7 does not start on physical sector boundary.
Checking that no-one is using this disk right now ... OK
Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
@@ -26,6 +33,7 @@ Device Boot Start End Sectors Size Id Type
<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.
diff --git a/tests/expected/sfdisk/dos-read-dump b/tests/expected/sfdisk/dos-read-dump
index b638e9dcc..6296c226d 100644
--- a/tests/expected/sfdisk/dos-read-dump
+++ b/tests/expected/sfdisk/dos-read-dump
@@ -1,3 +1,5 @@
+Partition 5 does not start on physical sector boundary.
+Partition 6 does not start on physical sector boundary.
Checking that no-one is using this disk right now ... OK
Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
@@ -25,6 +27,7 @@ Device Boot Start End Sectors Size Id Type
<removed>5 20481 26624 6144 3M 83 Linux
<removed>6 26626 102399 75774 37M 83 Linux
+
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
diff --git a/tests/expected/sfdisk/gpt-list-pmbr b/tests/expected/sfdisk/gpt-list-pmbr
index c2a56c781..4df1bc0c4 100644
--- a/tests/expected/sfdisk/gpt-list-pmbr
+++ b/tests/expected/sfdisk/gpt-list-pmbr
@@ -1,3 +1,4 @@
+Partition 1 does not start on physical sector boundary.
Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
@@ -7,3 +8,4 @@ Disk identifier: <removed>
Device Boot Start End Sectors Size Id Type
<removed>1 1 102399 102399 50M ee GPT
+