Update of /cvsroot/monetdb/MonetDB5/src/optimizer/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31381
Modified Files:
Tag: MonetDB_5-4
remote00.py
Log Message:
makeing the "remote00" test work:
close stdin of a pipe before reading from and closing its stdout
Index: remote00.py
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/Tests/remote00.py,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -d -r1.9 -r1.9.2.1
--- remote00.py 21 Jan 2008 08:05:48 -0000 1.9
+++ remote00.py 11 Feb 2008 22:29:32 -0000 1.9.2.1
@@ -10,10 +10,10 @@
return Popen(srvcmd);
def server_stop(srv):
+ srv.stdin.close()
r = srv.stdout.read()
sys.stdout.write(r);
srv.stdout.close()
- srv.stdin.close()
prelude_1 = '''
io.print(1);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins