tests/test-commandserver.py
branchstable
changeset 16117 6ecf5fb2a475
parent 16116 ce0ad184f489
child 16201 fb7c4c14223f
--- a/tests/test-commandserver.py	Thu Feb 16 01:21:34 2012 +0200
+++ b/tests/test-commandserver.py	Thu Feb 16 01:23:45 2012 +0200
@@ -27,6 +27,7 @@
 
 def runcommand(server, args, output=sys.stdout, error=sys.stderr, input=None):
     print ' runcommand', ' '.join(args)
+    sys.stdout.flush()
     server.stdin.write('runcommand\n')
     writeblock(server, '\0'.join(args))
 
@@ -56,6 +57,7 @@
     print
     print 'testing %s:' % func.__name__
     print
+    sys.stdout.flush()
     server = connect(repopath)
     try:
         return func(server)