Closing the backdoor client socket closes the waiting server, yay.

This commit is contained in:
Ryan Williams
2010-02-24 13:22:01 -05:00
parent a6ef92d429
commit 0a8665a087

View File

@@ -22,6 +22,11 @@ class BackdoorTest(LimitedTestCase):
f.flush()
self.assertEquals('hi\n', f.readline())
self.assertEquals('>>> ', f.read(4))
f.close()
client.close()
serv.kill()
# wait for the console to discover that it's dead
eventlet.sleep(0.1)