Fix typo in spec runner script
This commit is contained in:
parent
28ea7a565b
commit
63ae9556c6
|
@ -27,7 +27,7 @@ declare -A pids
|
||||||
for guest in ${guests}
|
for guest in ${guests}
|
||||||
do
|
do
|
||||||
vagrant provision ${guest} &
|
vagrant provision ${guest} &
|
||||||
pids[guest]=$!
|
pids[$guest]=$!
|
||||||
sleep 60
|
sleep 60
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ set +e
|
||||||
|
|
||||||
for guest in ${guests}
|
for guest in ${guests}
|
||||||
do
|
do
|
||||||
wait ${pids[guest]}
|
wait ${pids[$guest]}
|
||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "Provision failure for: ${guest}"
|
echo "Provision failure for: ${guest}"
|
||||||
|
|
Loading…
Reference in New Issue