summaryrefslogtreecommitdiff
path: root/tests/libqtest.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-04-12 14:01:05 +0200
committerKevin Wolf <kwolf@redhat.com>2012-05-10 10:32:11 +0200
commitc68b039aa950aea1e534c7abd5ba5ce602a8f4db (patch)
treefe60999645dfa92e958b87e96b71c2d3089abd9c /tests/libqtest.c
parent71df14fcbe5035d0728f30463414301eb62ad865 (diff)
downloadqemu-c68b039aa950aea1e534c7abd5ba5ce602a8f4db.tar.gz
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>
Diffstat (limited to 'tests/libqtest.c')
0 files changed, 0 insertions, 0 deletions