aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/186
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2017-07-25 17:56:44 +0200
committerKevin Wolf <kwolf@redhat.com>2017-08-01 18:09:33 +0200
commitc09bd34d820d686c18a59cf3d4261240167db695 (patch)
tree337518563868243fba424ce87895e299b40cc1b7 /tests/qemu-iotests/186
parent645acdc0e66277712c7af8a7d8de6a62dc5eb48a (diff)
iotests: Redirect stderr to stdout in 186
Without redirecting qemu's stderr to stdout, _filter_qemu will not apply to warnings. This results in $QEMU_PROG not being replaced by QEMU_PROG which is not great if your qemu executable is not called qemu-system-x86_64 (e.g. qemu-system-i386). Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/186')
-rwxr-xr-xtests/qemu-iotests/1862
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/186 b/tests/qemu-iotests/186
index ab83ee402a..2b9f618f90 100755
--- a/tests/qemu-iotests/186
+++ b/tests/qemu-iotests/186
@@ -56,7 +56,7 @@ function do_run_qemu()
done
fi
echo quit
- ) | $QEMU -S -nodefaults -display none -device virtio-scsi-pci -monitor stdio "$@"
+ ) | $QEMU -S -nodefaults -display none -device virtio-scsi-pci -monitor stdio "$@" 2>&1
echo
}