summaryrefslogtreecommitdiffstats
path: root/tests/expected/blkid
diff options
context:
space:
mode:
authorFrancesco Cosoleto2011-08-17 00:19:06 +0200
committerKarel Zak2011-08-30 10:55:13 +0200
commit41fc17521d5c2765701762697c9b79bbfee513bc (patch)
tree20d5b07526202095bac5ab1fe4cf3a71616ec2c3 /tests/expected/blkid
parenttests: add ts_fdisk_clean function to make fdisk output comparable (diff)
downloadkernel-qcow2-util-linux-41fc17521d5c2765701762697c9b79bbfee513bc.tar.gz
kernel-qcow2-util-linux-41fc17521d5c2765701762697c9b79bbfee513bc.tar.xz
kernel-qcow2-util-linux-41fc17521d5c2765701762697c9b79bbfee513bc.zip
tests: update fdisk and blkid MD tests
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Diffstat (limited to 'tests/expected/blkid')
-rw-r--r--tests/expected/blkid/md-raid0-whole11
-rw-r--r--tests/expected/blkid/md-raid1-part11
-rw-r--r--tests/expected/blkid/md-raid1-whole13
3 files changed, 22 insertions, 13 deletions
diff --git a/tests/expected/blkid/md-raid0-whole b/tests/expected/blkid/md-raid0-whole
index 54e4012c3..83fc54e12 100644
--- a/tests/expected/blkid/md-raid0-whole
+++ b/tests/expected/blkid/md-raid0-whole
@@ -3,21 +3,24 @@ Create RAID device
Create partitions on RAID device
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
-Changes will remain in memory only, until you decide to write them.
-After that, of course, the previous content won't be recoverable.
-
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
+
+Changes will remain in memory only, until you decide to write them.
+Be careful before using the write command.
+
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): Partition number (1-4, default 1): First sector (2048-204543, default 2048): Using default value 2048
-Last sector, +sectors or +size{K,M,G} (2048-204543, default 204543):
+Last sector, +sectors or +size{K,M,G} (2048-204543, default 204543): Partition 1 of type Linux and of size 10 MiB is set
+
Command (m for help): Partition type:
p primary (1 primary, 0 extended, 3 free)
e extended
Select (default p): Partition number (1-4, default 2): First sector (22528-204543, default 22528): Using default value 22528
Last sector, +sectors or +size{K,M,G} (22528-204543, default 204543): Using default value 204543
+Partition 2 of type Linux and of size 88.9 MiB is set
Command (m for help):
Disk /dev/md8: 104 MB, 104726528 bytes
diff --git a/tests/expected/blkid/md-raid1-part b/tests/expected/blkid/md-raid1-part
index 659f8965a..df595b89d 100644
--- a/tests/expected/blkid/md-raid1-part
+++ b/tests/expected/blkid/md-raid1-part
@@ -1,21 +1,24 @@
Create partitions
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
-Changes will remain in memory only, until you decide to write them.
-After that, of course, the previous content won't be recoverable.
-
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
+
+Changes will remain in memory only, until you decide to write them.
+Be careful before using the write command.
+
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): Partition number (1-4, default 1): First sector (2048-104447, default 2048): Using default value 2048
-Last sector, +sectors or +size{K,M,G} (2048-104447, default 104447):
+Last sector, +sectors or +size{K,M,G} (2048-104447, default 104447): Partition 1 of type Linux and of size 25 MiB is set
+
Command (m for help): Partition type:
p primary (1 primary, 0 extended, 3 free)
e extended
Select (default p): Partition number (1-4, default 2): First sector (53248-104447, default 53248): Using default value 53248
Last sector, +sectors or +size{K,M,G} (53248-104447, default 104447): Using default value 104447
+Partition 2 of type Linux and of size 25 MiB is set
Command (m for help):
Disk /dev/...: 53 MB, 53477376 bytes
diff --git a/tests/expected/blkid/md-raid1-whole b/tests/expected/blkid/md-raid1-whole
index cbdbb7bc6..2536a5cdf 100644
--- a/tests/expected/blkid/md-raid1-whole
+++ b/tests/expected/blkid/md-raid1-whole
@@ -3,21 +3,24 @@ Create RAID device
Create partitions on RAID device
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
-Changes will remain in memory only, until you decide to write them.
-After that, of course, the previous content won't be recoverable.
-
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
+
+Changes will remain in memory only, until you decide to write them.
+Be careful before using the write command.
+
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): Partition number (1-4, default 1): First sector (2048-102271, default 2048): Using default value 2048
-Last sector, +sectors or +size{K,M,G} (2048-102271, default 102271):
+Last sector, +sectors or +size{K,M,G} (2048-102271, default 102271): Partition 1 of type Linux and of size 10 MiB is set
+
Command (m for help): Partition type:
p primary (1 primary, 0 extended, 3 free)
e extended
Select (default p): Partition number (1-4, default 2): First sector (22528-102271, default 22528): Using default value 22528
-Last sector, +sectors or +size{K,M,G} (22528-102271, default 102271):
+Last sector, +sectors or +size{K,M,G} (22528-102271, default 102271): Partition 2 of type Linux and of size 10 MiB is set
+
Command (m for help):
Disk /dev/md8: 52 MB, 52363264 bytes
2 heads, 4 sectors/track, 12784 cylinders, total 102272 sectors