1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Fix a couple of bugs in the new (test/lib/)aux.sh.

This commit is contained in:
Petr Rockai 2011-01-05 00:25:07 +00:00
parent 1b7c4b9bce
commit 92ebc9219e

View File

@ -43,7 +43,10 @@ prepare_dmeventd() {
fi fi
# skip if we don't have our own dmeventd... # skip if we don't have our own dmeventd...
(which dmeventd | grep $abs_builddir) || exit 200 (which dmeventd | grep $abs_builddir) || {
touch SKIP_THIS_TEST
exit 1
}
dmeventd -f & dmeventd -f &
echo "$!" > LOCAL_DMEVENTD echo "$!" > LOCAL_DMEVENTD
@ -219,6 +222,7 @@ prepare_devs() {
fi fi
local size=$(($loopsz/$n)) local size=$(($loopsz/$n))
devs=
init_udev_transaction init_udev_transaction
for i in `seq 1 $n`; do for i in `seq 1 $n`; do