mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
tests: aus.sh avoid duplicating arg list
This commit is contained in:
parent
f612fdd1dd
commit
73cb5b486a
@ -225,7 +225,7 @@ prepare_lvmetad() {
|
|||||||
# by setting LVM_TEST_LVMETAD_DEBUG_OPTS before calling inittest.
|
# by setting LVM_TEST_LVMETAD_DEBUG_OPTS before calling inittest.
|
||||||
echo -n "## preparing lvmetad..."
|
echo -n "## preparing lvmetad..."
|
||||||
$run_valgrind lvmetad -f "$@" -s "$TESTDIR/lvmetad.socket" \
|
$run_valgrind lvmetad -f "$@" -s "$TESTDIR/lvmetad.socket" \
|
||||||
"${LVM_TEST_LVMETAD_DEBUG_OPTS--l all}" "$@" &
|
"${LVM_TEST_LVMETAD_DEBUG_OPTS--l all}" &
|
||||||
echo $! > LOCAL_LVMETAD
|
echo $! > LOCAL_LVMETAD
|
||||||
for i in {1..100} ; do
|
for i in {1..100} ; do
|
||||||
test "$i" -eq 100 && die "Startup of lvmetad is too slow."
|
test "$i" -eq 100 && die "Startup of lvmetad is too slow."
|
||||||
|
Loading…
Reference in New Issue
Block a user