diff options
author | Giuseppe Scrivano <gscrivano@gnu.org> | 2013-07-26 04:06:28 +0200 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2013-07-29 10:01:18 -0400 |
commit | 4f63458050d2c343ffceb6bd8d2af64857e4ad5c (patch) | |
tree | 74ba07a9ae0eefb22c4a7db7d2784ee6f4dd8c91 /tests/storage.py | |
parent | 7616077ebff3230a9e2ec83fab113d2709f42d09 (diff) | |
download | virt-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.py | 3 |
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) |