|
|
c401cc |
From 1e376bad1475f30569a5d30016af26c34fdc5355 Mon Sep 17 00:00:00 2001
|
|
|
c401cc |
Message-Id: <1e376bad1475f30569a5d30016af26c34fdc5355@dist-git>
|
|
|
c401cc |
From: Peter Krempa <pkrempa@redhat.com>
|
|
|
c401cc |
Date: Wed, 26 Feb 2014 14:54:42 +0100
|
|
|
c401cc |
Subject: [PATCH] tests: Fix comment for fake storage pool driver
|
|
|
c401cc |
|
|
|
c401cc |
https://bugzilla.redhat.com/show_bug.cgi?id=1032370
|
|
|
c401cc |
|
|
|
c401cc |
Commit bae124e40ff2b9d4de75d44510619db2c08d548a was accidentaly pushed
|
|
|
c401cc |
without review feedback worked in. Fix it up.
|
|
|
c401cc |
|
|
|
c401cc |
(cherry picked from commit 436fa772fb6d3c951901d9cfc86f4cda35f1d854)
|
|
|
c401cc |
|
|
|
c401cc |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
c401cc |
---
|
|
|
c401cc |
tests/qemuxml2argvtest.c | 9 ++++-----
|
|
|
c401cc |
1 file changed, 4 insertions(+), 5 deletions(-)
|
|
|
c401cc |
|
|
|
c401cc |
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
|
|
|
c401cc |
index e79141c..66aa688 100644
|
|
|
c401cc |
--- a/tests/qemuxml2argvtest.c
|
|
|
c401cc |
+++ b/tests/qemuxml2argvtest.c
|
|
|
c401cc |
@@ -227,17 +227,16 @@ fakeStoragePoolIsActive(virStoragePoolPtr pool)
|
|
|
c401cc |
/* Test storage pool implementation
|
|
|
c401cc |
*
|
|
|
c401cc |
* These functions aid testing of storage pool related stuff when creating a
|
|
|
c401cc |
- * qemu command .
|
|
|
c401cc |
+ * qemu command line.
|
|
|
c401cc |
*
|
|
|
c401cc |
* There are a few "magic" values to pass to these functions:
|
|
|
c401cc |
*
|
|
|
c401cc |
- * 1) "inactive" as
|
|
|
c401cc |
- * a pool name for pool lookup creates a inactive pool. All other names are
|
|
|
c401cc |
- * interpreted as file names for files of storagepooltest and are used as the
|
|
|
c401cc |
+ * 1) "inactive" as a pool name to create an inactive pool. All other names are
|
|
|
c401cc |
+ * interpreted as file names in storagepoolxml2xmlout/ and are used as the
|
|
|
c401cc |
* definition for the pool. If the file doesn't exist the pool doesn't exist.
|
|
|
c401cc |
*
|
|
|
c401cc |
* 2) "nonexistent" returns an error while looking up a volume. Otherwise
|
|
|
c401cc |
- * pattern VOLUME_TYPE+VOLUME_PATH can be used to simulate a volume in an pool.
|
|
|
c401cc |
+ * pattern VOLUME_TYPE+VOLUME_PATH can be used to simulate a volume in a pool.
|
|
|
c401cc |
* This creates a fake path for this volume. If the '+' sign is omitted, block
|
|
|
c401cc |
* type is assumed.
|
|
|
c401cc |
*/
|
|
|
c401cc |
--
|
|
|
c401cc |
1.9.0
|
|
|
c401cc |
|