tests: add output filter to python I/O tests helper
commita2d1c8fd84de207ab8e078d00851e0b93b50756d
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 21 Mar 2016 14:11:46 +0000 (21 14:11 +0000)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 Mar 2016 09:59:32 +0000 (30 11:59 +0200)
tree0e926635bc411f102776f2392c1d09b7eeab7c7d
parentc6a92369dc58345ce2df679313eac78c536db343
tests: add output filter to python I/O tests helper

Add a 'log' method to iotests.py which prints messages to
stdout, with optional filtering of data. Port over some
standard filters already present in the shell common.filter
code to be usable in python too.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py