Skip to contentSkip to conversation

LVM2/test test-utils.sh

PATCH [email protected] 1 participant 1 message Nov 10, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2008-11-10 12:36:23

Modified files:
test : test-utils.sh

Log message:
Use separate locking directory for each of the tests, as they never share a volume group, or physical devices for that matter. Hopefully fixes occasional test errors due to locking failures. Patch by jstava.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/test-utils.sh.diff?cvsroot=lvm2&r1=1.5&r2=1.6

test/test-utils.sh +1 -0
@@ -170,6 +170,7 @@
   }
   global {
     library_dir = "$G_root_/lib"
+     locking_dir = "$G_root_/var/lock/lvm"
   }
 EOF
 }