block: qemu-iotests - fix image cleanup when using spaced pathnames
commitc55752745536712f778e9a0d73a078bdb0360df2
authorJeff Cody <jcody@redhat.com>
Thu, 10 Apr 2014 20:47:39 +0000 (10 16:47 -0400)
committerKevin Wolf <kwolf@redhat.com>
Tue, 29 Apr 2014 14:19:33 +0000 (29 16:19 +0200)
tree89b63b48e5b2de394ec588555dc8f84647030415
parentc3cc95bd155d51fc1f9b7259b3bff20a361a1cca
block: qemu-iotests - fix image cleanup when using spaced pathnames

The _rm_test_img() function in common.rc did not quote the image
file, which left droppings in the scratch directory (and performed
a potentially unsafe rm -f).

This adds the necessary quotes.

Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/common.rc