This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch inserted_src in repository toolchain/semiautobench.
commit 5d8f093d52ea294dd50071c530de5368c575a394 Author: Bernard Ogden bernie.ogden@linaro.org Date: Wed Jul 22 17:33:30 2015 +0200
Remove needless infinite sleeps
They were there for debugging, but I do it in the exit trap
Change-Id: If677d272ecda279e0af4318048a61bd79438eb41 --- invoke_session_debian | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian index ccc8355..05b735f 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -97,8 +97,8 @@ target_names=() for lava_name in `lava-group | grep -v '[[:blank:]]*host$' | awk '{print $1}'`; do echo "NAME ${lava_name}" > /dev/console target_ip="$(lava-network query ${lava_name} ipv4)" - if test $? -ne 0; then echo "Failed to find IP for ${lava_name}"; sleep infinity [...] - if test -z "${target_ip}"; then echo "Failed to find IP for ${lava_name}"; sleep [...] + if test $? -ne 0; then echo "Failed to find IP for ${lava_name}"; exit 1; fi + if test -z "${target_ip}"; then echo "Failed to find IP for ${lava_name}"; exit 1; fi echo "IP ${target_ip}"
#Check that target is accessible, add it to our known_hosts,