From: prajnoha@sourceware.org <prajnoha@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW_DM ./configure.in test/Makefi ...
Date: 11 Jan 2010 15:48:51 -0000 [thread overview]
Message-ID: <20100111154851.11056.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2010-01-11 15:48:50
Modified files:
. : WHATS_NEW_DM configure.in
test : Makefile.in
Log message:
Define {DM, LVM}_UDEV_DISABLE_CHECKING=1 env. variables for tests.
We need to disable udev checking for our tests since they use their own
location for device nodes and symlinks.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW_DM.diff?cvsroot=lvm2&r1=1.328&r2=1.329
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.120&r2=1.121
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/Makefile.in.diff?cvsroot=lvm2&r1=1.24&r2=1.25
--- LVM2/WHATS_NEW_DM 2010/01/11 15:43:19 1.328
+++ LVM2/WHATS_NEW_DM 2010/01/11 15:48:49 1.329
@@ -1,5 +1,6 @@
Version 1.02.41 -
====================================
+ Define {DM, LVM}_UDEV_DISABLE_CHECKING=1 env. variables for tests.
Enable udev_sync and udev_rules in lvm.conf by default while running tests.
Add support to disable udev checking: DM_UDEV_DISABLE_CHECKING=1 env. variable.
Add dm_tree_add_dev_with_udev_flags to provide wider support for udev flags.
--- LVM2/configure.in 2009/10/14 04:10:41 1.120
+++ LVM2/configure.in 2010/01/11 15:48:49 1.121
@@ -1130,6 +1130,7 @@
AC_SUBST(STATICDIR)
AC_SUBST(STATIC_LINK)
AC_SUBST(UDEV_RULES)
+AC_SUBST(UDEV_SYNC)
AC_SUBST([LIB_PTHREAD])
AC_SUBST(interface)
AC_SUBST(kerneldir)
--- LVM2/test/Makefile.in 2009/11/30 16:58:53 1.24
+++ LVM2/test/Makefile.in 2010/01/11 15:48:50 1.25
@@ -30,6 +30,11 @@
T = $(wildcard $(srcdir)/t-*.sh)
+ifeq ("@UDEV_SYNC@", "yes")
+dm_udev_disable_checking = 1
+lvm_udev_disable_checking = 1
+endif
+
ifeq ("@APPLIB@", "yes")
T += $(srcdir)/lvm2app.sh
all: api/vgtest
@@ -56,6 +61,8 @@
echo 'abs_srcdir=$(abs_srcdir)' >> $@-t
echo 'abs_builddir=$(abs_builddir)' >> $@-t
echo 'export PATH' >> $@-t
+ echo 'export DM_UDEV_DISABLE_CHECKING=$(dm_udev_disable_checking)' >> $@-t
+ echo 'export LVM_UDEV_DISABLE_CHECKING=$(lvm_udev_disable_checking)' >> $@-t
chmod a-w $@-t
mv $@-t $@
if test "$(srcdir)" != "."; then cp $(srcdir)/test-utils.sh \
reply other threads:[~2010-01-11 15:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100111154851.11056.qmail@sourceware.org \
--to=prajnoha@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.