[lvm-devel] LVM2/test test-utils.sh

mbroz at sourceware.org mbroz at sourceware.org
Fri Aug 27 07:59:41 UTC 2010


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mbroz at sourceware.org	2010-08-27 07:59:40

Modified files:
	test           : test-utils.sh 

Log message:
	Currently tests require SI units enabled and data alignment to 1MiB.
	
	For now force it in lvm.conf (otherwise it fails on older systems like RHEL5
	where are these options disabled by default).
	
	FIXME: it should test and detect both versions.

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

--- LVM2/test/test-utils.sh	2010/08/12 04:11:50	1.48
+++ LVM2/test/test-utils.sh	2010/08/27 07:59:40	1.49
@@ -366,6 +366,7 @@
     filter = $filter
     cache_dir = "$TESTDIR/etc"
     sysfs_scan = 0
+    default_data_alignment = 1
   }
   log {
     syslog = 0
@@ -384,6 +385,7 @@
     library_dir = "$TESTDIR/lib"
     locking_dir = "$TESTDIR/var/lock/lvm"
     $locktype
+    si_unit_consistency = 1
   }
   activation {
     udev_sync = 1




More information about the lvm-devel mailing list