[svn r37457] explicitely shutdown the gateway for the remote session

after each run.

--HG--
branch : trunk
This commit is contained in:
hpk 2007-01-28 09:49:28 +01:00
parent dad2da4583
commit 9e7886c59b
1 changed files with 14 additions and 11 deletions

View File

@ -101,6 +101,7 @@ class RemoteTerminalSession(object):
from py.__.test.terminal.remote import slaverun_TerminalSession
slaverun_TerminalSession(channel)
""", stdout=self.out, stderr=self.out)
try:
print "MASTER: initiated slave terminal session ->"
repr = self.config.make_repr(conftestnames=[])
channel.send((str(topdir), repr, failures))
@ -113,6 +114,8 @@ class RemoteTerminalSession(object):
print "*" * 70
print e
return []
finally:
gw.exit()
def slaverun_TerminalSession(channel):
""" we run this on the other side. """