refinement
authorMatthew McPherrin <matthew@mcpherrin.ca>
Tue, 13 Mar 2012 17:04:49 +0000 (13:04 -0400)
committerMatthew McPherrin <matthew@mcpherrin.ca>
Tue, 13 Mar 2012 17:04:49 +0000 (13:04 -0400)
irc
tests.d/10_sockets.py

diff --git a/irc b/irc
index b6e5397..57620ed 100755 (executable)
--- a/irc
+++ b/irc
@@ -4,7 +4,7 @@ script=`dirname $0`/run
 D0=`$script`
 R=$?
 if [ $R -ne 0 ]; then
-       sleep 60
+       sleep 30
        D="mimcpher: CSC System Failure: `$script`"
        if [ $? -ne 0 ]; then
                echo $D
index 44dd67e..1c55f1b 100755 (executable)
@@ -24,5 +24,5 @@ for S in services:
      s.connect( (host , port) )
      s.close()
   except socket.error, e:
-   print "FAIL socket connect to ", S, e
+   print "FAIL socket connect to ", S[0], host, port
    sys.exit(1)