summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/common.filter
diff options
context:
space:
mode:
authorMax Reitz2014-12-19 17:17:06 +0100
committerStefan Hajnoczi2015-01-13 12:47:56 +0100
commit4dd7b8d30cfa1aebee547958db27efd581a58d9b (patch)
tree40346492e83f42498f92b5450efd1630e4d9c480 /tests/qemu-iotests/common.filter
parentqemu-iotests: Test blockdev-backup in 055 (diff)
downloadqemu-4dd7b8d30cfa1aebee547958db27efd581a58d9b.tar.gz
qemu-4dd7b8d30cfa1aebee547958db27efd581a58d9b.tar.xz
qemu-4dd7b8d30cfa1aebee547958db27efd581a58d9b.zip
iotests: Filter out "I/O thread spun..." warning
Filter out the "main loop: WARNING: I/O thread spun for..." warning from qemu output (it hardly matters for code specifically testing I/O). Furthermore, use _filter_qemu in all the custom functions which run qemu. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/common.filter')
-rw-r--r--tests/qemu-iotests/common.filter1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/common.filter b/tests/qemu-iotests/common.filter
index 6c14590594..bae96efcf3 100644
--- a/tests/qemu-iotests/common.filter
+++ b/tests/qemu-iotests/common.filter
@@ -159,6 +159,7 @@ _filter_qemu()
{
sed -e "s#\\(^\\|(qemu) \\)$(basename $QEMU_PROG):#\1QEMU_PROG:#" \
-e 's#^QEMU [0-9]\+\.[0-9]\+\.[0-9]\+ monitor#QEMU X.Y.Z monitor#' \
+ -e '/main-loop: WARNING: I\/O thread spun for [0-9]\+ iterations/d' \
-e $'s#\r##' # QEMU monitor uses \r\n line endings
}