All of lore.kernel.org
 help / color / mirror / Atom feed
* LVM2/test/lib test.sh
@ 2011-08-31 12:42 mornfall
  0 siblings, 0 replies; 2+ messages in thread
From: mornfall @ 2011-08-31 12:42 UTC (permalink / raw)
  To: lvm-devel

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall at sourceware.org	2011-08-31 12:42:55

Modified files:
	test/lib       : test.sh 

Log message:
	Do not call prepare_lvmetad just yet in tests.

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

--- LVM2/test/lib/test.sh	2011/08/31 11:31:58	1.5
+++ LVM2/test/lib/test.sh	2011/08/31 12:42:55	1.6
@@ -54,7 +54,6 @@
 set -eE -o pipefail
 aux lvmconf
 aux prepare_clvmd
-aux prepare_lvmetad
 echo "@TESTDIR=$TESTDIR"
 echo "@PREFIX=$PREFIX"
 



^ permalink raw reply	[flat|nested] 2+ messages in thread

* LVM2/test/lib test.sh
@ 2011-02-09 17:57 mornfall
  0 siblings, 0 replies; 2+ messages in thread
From: mornfall @ 2011-02-09 17:57 UTC (permalink / raw)
  To: lvm-devel

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall at sourceware.org	2011-02-09 17:57:14

Modified files:
	test/lib       : test.sh 

Log message:
	Allow overriding the DM_DEV_DIR used by the test suite (fixes BZ 672796). Use
	like this:
	
	# LVM_TEST_DEVDIR=/tmp/dev make check

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/lib/test.sh.diff?cvsroot=lvm2&r1=1.2&r2=1.3

--- LVM2/test/lib/test.sh	2011/01/05 00:26:19	1.2
+++ LVM2/test/lib/test.sh	2011/02/09 17:57:14	1.3
@@ -31,8 +31,11 @@
 trap 'aux teardown' EXIT # don't forget to clean up
 
 export LVM_SYSTEM_DIR=$TESTDIR/etc
-export DM_DEV_DIR=$TESTDIR/dev
-mkdir $LVM_SYSTEM_DIR $DM_DEV_DIR $DM_DEV_DIR/mapper $TESTDIR/lib
+DM_DEV_DIR=$TESTDIR/dev
+test -n "$LVM_TEST_DEVDIR" && DM_DEV_DIR="$LVM_TEST_DEVDIR"
+export DM_DEV_DIR
+mkdir $LVM_SYSTEM_DIR $TESTDIR/lib
+mkdir -p $DM_DEV_DIR $DM_DEV_DIR/mapper
 
 cd $TESTDIR
 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-31 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31 12:42 LVM2/test/lib test.sh mornfall
  -- strict thread matches above, loose matches on Subject: below --
2011-02-09 17:57 mornfall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.