Commit 7fd064bb authored by Philippe Gauron's avatar Philippe Gauron
Browse files

test de TANGO_HOST si TANGO=1

parent 28a72a07
......@@ -335,6 +335,18 @@ then
info "TangoTest/test started"
fi
fi
### Checking TANGO_HOST
source /etc/tangorc
if [ "${TANGO_HOST}" == "${CORRECT_TANGO_HOST}" ]
then
if [ "${DEBUG}" -eq 1 ]
then
info "TANGO_HOST correctly set to ${TANGO_HOST}"
fi
else
warning "TANGO_HOST is not defined to '${CORRECT_TANGO_HOST}' but to '${TANGO_HOST}'"
fi
fi
......@@ -387,17 +399,7 @@ then
fi
### TANGO_HOST
source /etc/tangorc
if [ "${TANGO_HOST}" == "${CORRECT_TANGO_HOST}" ]
then
if [ "${DEBUG}" -eq 1 ]
then
info "TANGO_HOST correctly set to ${TANGO_HOST}"
fi
else
warning "TANGO_HOST is not defined to '${CORRECT_TANGO_HOST}' but to '${TANGO_HOST}'"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment