Commit 29d72c6a authored by ericw's avatar ericw
Browse files

Add printout of node name

parent 2b6bc042
......@@ -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/20 17:03:44 ericw Exp $"
__revision__ = "$Id: test_squid.py,v 1.6 2007/02/26 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"):
......
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