1
0
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:
Zdenek Kabelac 2017-07-10 12:46:02 +02:00
parent f612fdd1dd
commit 73cb5b486a

View File

@ -225,7 +225,7 @@ prepare_lvmetad() {
# by setting LVM_TEST_LVMETAD_DEBUG_OPTS before calling inittest.
echo -n "## preparing lvmetad..."
$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
for i in {1..100} ; do
test "$i" -eq 100 && die "Startup of lvmetad is too slow."