Skip to contentSkip to conversation

master - tests: use proper LVMTEST prefix for VG name

PATCH Zdenek Kabelac 1 participant 1 message Nov 24, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=74e6135c4f06f922672a057e7c47f513e84d035d
Commit:        74e6135c4f06f922672a057e7c47f513e84d035d
Parent:        1e80265c368f135bf7a92c5bb4ed49948a76f712
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Nov 24 00:44:43 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Nov 24 14:39:04 2014 +0100

tests: use proper LVMTEST prefix for VG name

Cleaner needs prefix to do its jobs and clean any left VG from python test as well.

---
 test/api/python_lvm_unit.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/api/python_lvm_unit.py +1 -1
index c338775..2f22fae 100755
@@ -103,7 +103,7 @@ class AllowedPVS(object):
 
 class TestLvm(unittest.TestCase):
 
-	VG_P = 'py_unit_test_'
+	VG_P = os.environ.get('PREFIX')
 
 	@staticmethod
 	def _get_pv_device_names():