iotests: Flush in iotests.py's QemuIoInteractive
commitf544adf736cb1b100a7fe926f3712157b22c3ddd
authorMax Reitz <mreitz@redhat.com>
Mon, 22 Oct 2018 13:53:00 +0000 (22 14:53 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 31 Oct 2018 00:11:52 +0000 (30 21:11 -0300)
treef678846bb8bdc5360f4fec2524f800bc2d7cabff
parent6d39db96d23ebe0d4361d108fa202091aa9cbfc1
iotests: Flush in iotests.py's QemuIoInteractive

After issuing a command, flush the pipe.  This does not change anything
in Python 2, but it makes a difference in Python 3.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20181022135307.14398-3-mreitz@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
tests/qemu-iotests/iotests.py