Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
29d72c6a
Commit
29d72c6a
authored
Feb 26, 2007
by
ericw
Browse files
Add printout of node name
parent
2b6bc042
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/FroNtier/tests/test_squid.py
View file @
29d72c6a
...
...
@@ -10,7 +10,7 @@ Tests the local FroNtier squid
# 3) file $CMS_PATH/SITECONF/local/JobConfig/site-local-config.xml
# contains the location of the local FroNtier squid server
#
__revision__
=
"$Id: test_squid.py,v 1.
5
2007/02/2
0
17:
03:44
ericw Exp $"
__revision__
=
"$Id: test_squid.py,v 1.
6
2007/02/2
6
17:
19:25
ericw Exp $"
import
os
import
sys
import
urllib2
...
...
@@ -21,6 +21,11 @@ import zlib
import
curses.ascii
import
time
#
# Print out node name
#
print
"node "
+
os
.
uname
()[
1
]
#
#
# Check that environmental variable SAME_OK is set
#
if
not
os
.
environ
.
has_key
(
"SAME_OK"
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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