mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-30 01:47:56 +03:00
test: Fix failures due to undefined abs_top_builddir.
This commit is contained in:
parent
c6f9c46223
commit
bd0806e1f5
@ -13,6 +13,8 @@
|
||||
|
||||
lvm version
|
||||
|
||||
test -n "$abs_top_builddir" || skip
|
||||
|
||||
v=$abs_top_builddir/lib/misc/lvm-version.h
|
||||
sed -n "/#define LVM_VERSION ./s///p" "$v" | sed "s/ .*//" > expected
|
||||
|
||||
|
@ -43,7 +43,10 @@ not pgrep dmeventd
|
||||
rm LOCAL_DMEVENTD
|
||||
|
||||
# set dmeventd path
|
||||
aux lvmconf "dmeventd/executable=\"$abs_top_builddir/test/lib/dmeventd\""
|
||||
if test -n "$abs_top_builddir"; then
|
||||
aux lvmconf "dmeventd/executable=\"$abs_top_builddir/test/lib/dmeventd\""
|
||||
fi
|
||||
|
||||
lvchange --monitor y --verbose $vg/3way 2>&1 | tee lvchange.out
|
||||
pgrep dmeventd >LOCAL_DMEVENTD
|
||||
not grep 'already monitored' lvchange.out
|
||||
|
Loading…
x
Reference in New Issue
Block a user