Merge "labs: fix formatting in wait_for_ssh"

This commit is contained in:
Jenkins 2014-10-27 21:49:50 +00:00 committed by Gerrit Code Review
commit bd9ebe2f6e

View File

@ -104,7 +104,7 @@ function vm_ssh {
function wait_for_ssh {
local ssh_port=$1
echo "Waiting for ssh server to respond on local port $ssh_port"
echo -n "Waiting for ssh server to respond on local port $ssh_port."
while [ : ]; do
if vm_ssh "$ssh_port" exit ; then
break
@ -113,6 +113,7 @@ function wait_for_ssh {
sleep 1
fi
done
echo
}
# Copy one script to VM and execute it via ssh; log output to separate file