summaryrefslogtreecommitdiff
path: root/tests/storage.py
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivano@gnu.org>2013-07-26 04:06:28 +0200
committerCole Robinson <crobinso@redhat.com>2013-07-29 10:01:18 -0400
commit4f63458050d2c343ffceb6bd8d2af64857e4ad5c (patch)
tree74ba07a9ae0eefb22c4a7db7d2784ee6f4dd8c91 /tests/storage.py
parent7616077ebff3230a9e2ec83fab113d2709f42d09 (diff)
downloadvirt-manager-4f63458050d2c343ffceb6bd8d2af64857e4ad5c.tar.gz
tests: move the storage pool under /dev.
The commit efab27afbf02743a3a2582e9a111eb1b7d985b26 in libvirt uses /dev/%s for logical pools, change the tests to accommodate it. (crobinso: additional fix to work with older libvirt)
Diffstat (limited to 'tests/storage.py')
-rw-r--r--tests/storage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/storage.py b/tests/storage.py
index 0b52fe85..f680c318 100644
--- a/tests/storage.py
+++ b/tests/storage.py
@@ -158,7 +158,8 @@ class TestStorage(unittest.TestCase):
def testLVPool(self):
poolobj = createPool(self.conn, StoragePool.TYPE_LOGICAL,
- "pool-logical")
+ "pool-logical",
+ target_path="/dev/pool-logical")
invol = createVol(self.conn, poolobj)
createVol(self.conn, poolobj,
volname=invol.name() + "input", input_vol=invol)