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.
The following commit(s) were added to refs/heads/inserted_src by this push: new 6ec9a79 Check for zero-length IP address 6ec9a79 is described below
commit 6ec9a7945cb580522da0e4a7c8df55ed5965f547 Author: Bernard Ogden bernie.ogden@linaro.org Date: Tue Jul 21 11:31:49 2015 +0200
Check for zero-length IP address
Change-Id: I02f585e57ede52a89c2bb8a5a902ea08a7b29277 --- invoke_session_debian | 1 + 1 file changed, 1 insertion(+)
diff --git a/invoke_session_debian b/invoke_session_debian index 2e9df60..755712a 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -122,6 +122,7 @@ for lava_name in `lava-group | grep '[[:blank:]]*target$' | awk [...] 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 [...] echo "IP ${target_ip}" target_base="$(echo ${lava_name} | sed 's/[[:digit:]]*$//')" #TODO: HACK if test $? -ne 0; then echo "Failed to find target type from ${lava_name}"; exit 1; fi