public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: mornfall@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/test/lib test.sh Date: Wed, 09 Feb 2011 17:57:00 -0000 [thread overview] Message-ID: <20110209175714.24658.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: mornfall@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
next reply other threads:[~2011-02-09 17:57 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-02-09 17:57 mornfall [this message] 2011-08-31 12:42 mornfall
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=20110209175714.24658.qmail@sourceware.org \ --to=mornfall@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).