summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
authorRuediger Meier2016-02-04 00:58:04 +0100
committerRuediger Meier2016-02-10 21:06:41 +0100
commit01e8c90ca2fb840aeda2e83206ec37b959eab875 (patch)
tree08262a2ee40985f1ad8e4d4f6cb825cb962b0ba4 /tests/functions.sh
parenttests: minor cleanup ts_fdisk_clean() (diff)
downloadkernel-qcow2-util-linux-01e8c90ca2fb840aeda2e83206ec37b959eab875.tar.gz
kernel-qcow2-util-linux-01e8c90ca2fb840aeda2e83206ec37b959eab875.tar.xz
kernel-qcow2-util-linux-01e8c90ca2fb840aeda2e83206ec37b959eab875.zip
tests: ts_fdisk_clean(), remove optimal iosize
It's a pity a pity that we have to remove it. In past our test suite could discover a kernel bug (4.4). But now they've changed optimal iosizes on purpose. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index 8f6c87724..d3367e1a5 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -621,6 +621,7 @@ function ts_fdisk_clean {
-e 's/^Device[[:blank:]]*Boot/Device Boot/' \
-e 's/Welcome to fdisk.*/Welcome to fdisk <removed>./' \
-e 's/typescript file.*/typescript file <removed>./' \
+ -e 's@^\(I/O size (minimum/op.* bytes /\) [1-9][0-9]* @\1 <removed> @' \
$TS_OUTPUT
}