commit | c68b039aa950aea1e534c7abd5ba5ce602a8f4db | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Apr 12 14:01:05 2012 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu May 10 10:32:11 2012 +0200 |
tree | fe60999645dfa92e958b87e96b71c2d3089abd9c | |
parent | 71df14fcbe5035d0728f30463414301eb62ad865 [diff] |
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>