Update of /cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26336

Modified Files:
      Tag: Aug2009
        create_on_ro_db_crash.SF-2830238.py lost_update.SF-2790020.py 
Log Message:
If we read from a subprocess, we need to use universal newlines (i.e. map \r\n 
to \n).

U create_on_ro_db_crash.SF-2830238.py
Index: create_on_ro_db_crash.SF-2830238.py
===================================================================
RCS file: 
/cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests/create_on_ro_db_crash.SF-2830238.py,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- create_on_ro_db_crash.SF-2830238.py 14 Oct 2009 08:41:56 -0000      1.1.2.2
+++ create_on_ro_db_crash.SF-2830238.py 15 Oct 2009 08:15:54 -0000      1.1.2.3
@@ -10,6 +10,7 @@
 def server():
     s = subprocess.Popen('%s "--dbinit=include sql;" --set gdk_readonly=yes' % 
os.getenv('MSERVER'),
                          shell = True,
+                         universal_newlines = True,
                          stdin = subprocess.PIPE,
                          stdout = subprocess.PIPE,
                          stderr = subprocess.PIPE)
@@ -28,6 +29,7 @@
 def client():
     c = subprocess.Popen("%s" % os.getenv('SQL_CLIENT'),
                          shell = True,
+                         universal_newlines = True,
                          stdin = subprocess.PIPE,
                          stdout = subprocess.PIPE,
                          stderr = subprocess.PIPE)

U lost_update.SF-2790020.py
Index: lost_update.SF-2790020.py
===================================================================
RCS file: 
/cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests/lost_update.SF-2790020.py,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -d -r1.2 -r1.2.2.1
--- lost_update.SF-2790020.py   20 May 2009 13:41:45 -0000      1.2
+++ lost_update.SF-2790020.py   15 Oct 2009 08:15:54 -0000      1.2.2.1
@@ -10,6 +10,7 @@
 def server():
     s = subprocess.Popen("%s --dbinit='include sql;'" % os.getenv('MSERVER'),
                          shell = True,
+                         universal_newlines = True,
                          stdin = subprocess.PIPE,
                          stdout = subprocess.PIPE,
                          stderr = subprocess.PIPE)
@@ -28,6 +29,7 @@
 def client():
     c = subprocess.Popen("%s" % os.getenv('SQL_CLIENT'),
                          shell = True,
+                         universal_newlines = True,
                          stdin = subprocess.PIPE,
                          stdout = subprocess.PIPE,
                          stderr = subprocess.PIPE)


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to