aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/099
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-12-19 17:17:06 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2015-01-13 11:47:56 +0000
commit4dd7b8d30cfa1aebee547958db27efd581a58d9b (patch)
tree40346492e83f42498f92b5450efd1630e4d9c480 /tests/qemu-iotests/099
parent7c6a4ab871cae829ea754c717db2d40c2c115224 (diff)
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/099')
-rwxr-xr-xtests/qemu-iotests/0992
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/099 b/tests/qemu-iotests/099
index 948afff28b..80f3d9aaf3 100755
--- a/tests/qemu-iotests/099
+++ b/tests/qemu-iotests/099
@@ -57,7 +57,7 @@ function run_qemu()
# Get the "file": "foo" entry ($foo may only contain escaped double quotes,
# which is how we can extract it)
do_run_qemu "$@" 2>&1 | _filter_testdir | _filter_imgfmt | _filter_qmp \
- | grep "drv0" \
+ | _filter_qemu | grep "drv0" \
| sed -e 's/^.*"file": "\(\(\\"\|[^"]\)*\)".*$/\1/' -e 's/\\"/"/g'
}