qemu-iotests: strip spaces from qemu-img/qemu-io/qemu command lines
commitc68b039aa950aea1e534c7abd5ba5ce602a8f4db
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Apr 2012 12:01:05 +0000 (12 14:01 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 10 May 2012 08:32:11 +0000 (10 10:32 +0200)
treefe60999645dfa92e958b87e96b71c2d3089abd9c
parent71df14fcbe5035d0728f30463414301eb62ad865
qemu-iotests: strip spaces from qemu-img/qemu-io/qemu command lines

A trailing space is left when qemu-img has no arguments, for example if
-nocache is not used.  This becomes an empty argument after split()
and causes qemu-io to fail.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py