summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKarel Zak2017-07-12 12:34:22 +0200
committerKarel Zak2017-07-12 12:34:22 +0200
commit288acb4eee57846634e0e9a63edce10126579563 (patch)
tree16e962cceb4da526e2e72bce738e100b9627b83a /tests
parentMerge branch 'master' of https://github.com/pali/util-linux (diff)
downloadkernel-qcow2-util-linux-288acb4eee57846634e0e9a63edce10126579563.tar.gz
kernel-qcow2-util-linux-288acb4eee57846634e0e9a63edce10126579563.tar.xz
kernel-qcow2-util-linux-288acb4eee57846634e0e9a63edce10126579563.zip
tests: don't use errno in output
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/expected/libfdisk/mkpart-full-gpt-err-overlap2
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-err-logical2
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-err-nospace2
-rw-r--r--tests/expected/libfdisk/mkpart-full-mbr-err-primary2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/expected/libfdisk/mkpart-full-gpt-err-overlap b/tests/expected/libfdisk/mkpart-full-gpt-err-overlap
index aea49cd5a..673339230 100644
--- a/tests/expected/libfdisk/mkpart-full-gpt-err-overlap
+++ b/tests/expected/libfdisk/mkpart-full-gpt-err-overlap
@@ -7,7 +7,7 @@ Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Sector 5000 already used.
-sample-fdisk-mkpart-fullspec: failed to add #4 partition: Numerical result out of range
+sample-fdisk-mkpart-fullspec: failed to add #4 partition
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-err-logical b/tests/expected/libfdisk/mkpart-full-mbr-err-logical
index b2249c867..c2c0b0df6 100644
--- a/tests/expected/libfdisk/mkpart-full-mbr-err-logical
+++ b/tests/expected/libfdisk/mkpart-full-mbr-err-logical
@@ -4,7 +4,7 @@ Requested partition: <partno=2,start=6144,size=2048>
Requested partition: <partno=3,start=8192,size=22528>
Requested partition: <partno=4,start=10240,size=2048>
Requested partition: <partno=5,start=4096,size=2048>
-sample-fdisk-mkpart-fullspec: failed to add #6 partition: Invalid argument
+sample-fdisk-mkpart-fullspec: failed to add #6 partition
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-err-nospace b/tests/expected/libfdisk/mkpart-full-mbr-err-nospace
index cc243befb..d7a006569 100644
--- a/tests/expected/libfdisk/mkpart-full-mbr-err-nospace
+++ b/tests/expected/libfdisk/mkpart-full-mbr-err-nospace
@@ -5,7 +5,7 @@ Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Start sector 4096 out of range.
-sample-fdisk-mkpart-fullspec: failed to add #3 partition: Numerical result out of range
+sample-fdisk-mkpart-fullspec: failed to add #3 partition
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
diff --git a/tests/expected/libfdisk/mkpart-full-mbr-err-primary b/tests/expected/libfdisk/mkpart-full-mbr-err-primary
index aeb4bc7d8..1142f6531 100644
--- a/tests/expected/libfdisk/mkpart-full-mbr-err-primary
+++ b/tests/expected/libfdisk/mkpart-full-mbr-err-primary
@@ -5,7 +5,7 @@ Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Extended partition does not exists. Failed to add logical partition.
-sample-fdisk-mkpart-fullspec: failed to add #7 partition: Invalid argument
+sample-fdisk-mkpart-fullspec: failed to add #7 partition
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes