Skip to contentSkip to conversation

Enable udev_sync and udev_rules in lvm.conf used for tests

PATCH New Peter Rajnoha 1 participant 1 message Jan 8, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 Enable udev_sync and udev_rules in lvm.conf used for tests

I *always* forget to set these.
And it seems I'm not the only one :)

Peter

test/lvm-utils.sh +4 -0
index 5ad8872..6b7f231 100644
@@ -202,6 +202,10 @@ init_root_dir_()
   global {
     library_dir = "$G_root_/lib"
   }
+  activation {
+    udev_sync = 1
+    udev_rules = 1
+  }
 EOF
 }
 
test/test-utils.sh +4 -0
index 119a549..27b6fe7 100644
@@ -203,6 +203,10 @@ prepare_lvmconf() {
     library_dir = "$G_root_/lib"
     locking_dir = "$G_root_/var/lock/lvm"
   }
+  activation {
+    udev_sync = 1
+    udev_rules = 1
+  }
 EOF
 }