Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Philippe Gauron
installation
Commits
7fd064bb
Commit
7fd064bb
authored
Feb 17, 2020
by
Philippe Gauron
Browse files
test de TANGO_HOST si TANGO=1
parent
28a72a07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
verif_env_thomx.sh
verif_env_thomx.sh
+13
-11
No files found.
verif_env_thomx.sh
View file @
7fd064bb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment