summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFrancesco Cosoleto2011-12-15 20:02:49 +0100
committerKarel Zak2011-12-16 14:04:10 +0100
commit6b310edc5aea8ac5e387da1a4bedfec392b5b077 (patch)
tree22cbb8aca48243172fd82d5e60f95fe7bd9166c2 /tests
parentfdisk: improve some messages (diff)
downloadkernel-qcow2-util-linux-6b310edc5aea8ac5e387da1a4bedfec392b5b077.tar.gz
kernel-qcow2-util-linux-6b310edc5aea8ac5e387da1a4bedfec392b5b077.tar.xz
kernel-qcow2-util-linux-6b310edc5aea8ac5e387da1a4bedfec392b5b077.zip
tests: update fdisk tests
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/expected/fdisk/align-512-4K12
-rw-r--r--tests/expected/fdisk/align-512-4K-6312
-rw-r--r--tests/expected/fdisk/align-512-4K-md24
-rw-r--r--tests/expected/fdisk/align-512-5126
-rw-r--r--tests/expected/fdisk/align-512-512-topology6
-rw-r--r--tests/expected/fdisk/oddinput1
6 files changed, 30 insertions, 31 deletions
diff --git a/tests/expected/fdisk/align-512-4K b/tests/expected/fdisk/align-512-4K
index 615d6096d..a510c734e 100644
--- a/tests/expected/fdisk/align-512-4K
+++ b/tests/expected/fdisk/align-512-4K
@@ -1,16 +1,16 @@
Create partitions
-Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
-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.
+
+Device does not contain a recognized partition table
+
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
-
-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
diff --git a/tests/expected/fdisk/align-512-4K-63 b/tests/expected/fdisk/align-512-4K-63
index 63cef9c0d..e8192ce01 100644
--- a/tests/expected/fdisk/align-512-4K-63
+++ b/tests/expected/fdisk/align-512-4K-63
@@ -1,16 +1,16 @@
Create partitions
-Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
-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.
+
+Device does not contain a recognized partition table
+
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
-
-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
diff --git a/tests/expected/fdisk/align-512-4K-md b/tests/expected/fdisk/align-512-4K-md
index 3a0e7d504..b0081c6ae 100644
--- a/tests/expected/fdisk/align-512-4K-md
+++ b/tests/expected/fdisk/align-512-4K-md
@@ -1,16 +1,16 @@
Create partitions
-Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
-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.
+
+Device does not contain a recognized partition table
+
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
-
-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
@@ -44,18 +44,18 @@ Alignment offsets:
0
0
Create partitions (MD)
-Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
-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.
+
+Device does not contain a recognized partition table
+
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
-
-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
diff --git a/tests/expected/fdisk/align-512-512 b/tests/expected/fdisk/align-512-512
index 7f1cdb930..190ad0afe 100644
--- a/tests/expected/fdisk/align-512-512
+++ b/tests/expected/fdisk/align-512-512
@@ -1,12 +1,12 @@
Create partitions
-Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
-
-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.
+Device does not contain a recognized partition table
+
+
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
diff --git a/tests/expected/fdisk/align-512-512-topology b/tests/expected/fdisk/align-512-512-topology
index 3623f0b72..2180081c2 100644
--- a/tests/expected/fdisk/align-512-512-topology
+++ b/tests/expected/fdisk/align-512-512-topology
@@ -1,12 +1,12 @@
Create partitions
-Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
-
-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.
+Device does not contain a recognized partition table
+
+
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
diff --git a/tests/expected/fdisk/oddinput b/tests/expected/fdisk/oddinput
index 7fd14b512..8714f6302 100644
--- a/tests/expected/fdisk/oddinput
+++ b/tests/expected/fdisk/oddinput
@@ -8,7 +8,6 @@ Disk testimage: 10 MB, 10485760 bytes
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
-Disk identifier: 0x00000000
Nonexistant file
Too small file