yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-block-qemu-iotests-add-quotes-to-TEST_IMG.base-usage.patch

9ae3a8
From 7e3c22ba8ef0cda6b963a630e75fcff2c501a4bc Mon Sep 17 00:00:00 2001
9ae3a8
From: Jeffrey Cody <jcody@redhat.com>
9ae3a8
Date: Wed, 20 Nov 2013 19:43:47 +0100
9ae3a8
Subject: [PATCH 04/25] block: qemu-iotests, add quotes to $TEST_IMG.base usage in 017
9ae3a8
9ae3a8
RH-Author: Jeffrey Cody <jcody@redhat.com>
9ae3a8
Message-id: <06ac39b0b706052e005be10e809d79eb633ebe5f.1384975172.git.jcody@redhat.com>
9ae3a8
Patchwork-id: 55797
9ae3a8
O-Subject: [RHEL7 qemu-kvm PATCH 04/26] block: qemu-iotests, add quotes to $TEST_IMG.base usage in 017
9ae3a8
Bugzilla: 879234
9ae3a8
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
9ae3a8
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
9ae3a8
RH-Acked-by: Fam Zheng <famz@redhat.com>
9ae3a8
9ae3a8
$TEST_IMG.base is used unquoted. Add quotes so that pathnames with
9ae3a8
spaces are supported.
9ae3a8
9ae3a8
Signed-off-by: Jeff Cody <jcody@redhat.com>
9ae3a8
Reviewed-by: Eric Blake <eblake@redhat.com>
9ae3a8
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
9ae3a8
(cherry picked from commit 02cde1688131090d3abb2f210e30a44d96804167)
9ae3a8
---
9ae3a8
 tests/qemu-iotests/017 | 2 +-
9ae3a8
 1 file changed, 1 insertion(+), 1 deletion(-)
9ae3a8
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
---
9ae3a8
 tests/qemu-iotests/017 |    2 +-
9ae3a8
 1 files changed, 1 insertions(+), 1 deletions(-)
9ae3a8
9ae3a8
diff --git a/tests/qemu-iotests/017 b/tests/qemu-iotests/017
9ae3a8
index 45f2c0b..aba3faf 100755
9ae3a8
--- a/tests/qemu-iotests/017
9ae3a8
+++ b/tests/qemu-iotests/017
9ae3a8
@@ -66,7 +66,7 @@ echo "Creating test image with backing file"
9ae3a8
 echo
9ae3a8
 
9ae3a8
 TEST_IMG=$TEST_IMG_SAVE
9ae3a8
-_make_test_img -b $TEST_IMG.base 6G
9ae3a8
+_make_test_img -b "$TEST_IMG.base" 6G
9ae3a8
 
9ae3a8
 echo "Filling test image"
9ae3a8
 echo
9ae3a8
-- 
9ae3a8
1.7.1
9ae3a8