mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 22:46:58 +02:00
Complain (and more importantly don't blindly run) if AP or Client IP is unset
Add small if statement in cros_run_wifi_tests to balk if we didn't get valid cell info from the server. BUG=none TEST=reboot everything and rerun while testbed server hasn't caught up yet Review URL: http://codereview.chromium.org/4069001
This commit is contained in:
parent
a6b1390fc5
commit
f66c6d614e
@ -123,6 +123,10 @@ while read line; do
|
||||
set $line
|
||||
if [ "${FLAGS_cell}" = "$cell_no" -o "${FLAGS_client}" = "$1" -o \
|
||||
"${FLAGS_client}" = "$4" ] ; then
|
||||
if [ "$5" = "0.0.0.0" -o "$4" = "0.0.0.0" ]; then
|
||||
# Error -- these should never be zeroes
|
||||
break
|
||||
fi
|
||||
echo "$4"
|
||||
echo "router_addr=$5"
|
||||
if [ "$6" != "0.0.0.0" ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user