cryptospore / 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

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