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

Modified Files:
        role2.SQL.py unknown_user.SQL.py table.SQL.py role1.SQL.py 
Log Message:
don't use binary mode, as we're just creating a textfile

U table.SQL.py
Index: table.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Users/Tests/table.SQL.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- table.SQL.py        7 Oct 2009 11:59:12 -0000       1.7
+++ table.SQL.py        7 Oct 2009 12:20:22 -0000       1.8
@@ -19,7 +19,7 @@
 def main():
     testenv = copy.deepcopy(os.environ)
     testenv['DOTMONETDBFILE'] = '.testuser'
-    f = open(testenv['DOTMONETDBFILE'], 'wb')
+    f = open(testenv['DOTMONETDBFILE'], 'w')
     f.write('user=my_user\npassword=p1\n')
     f.close()
     clcmd = str(os.getenv('SQL_CLIENT')) + "< %s" % ('%s/../table.sql' % 
os.getenv('RELSRCDIR'))

U role1.SQL.py
Index: role1.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Users/Tests/role1.SQL.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- role1.SQL.py        7 Oct 2009 11:59:12 -0000       1.7
+++ role1.SQL.py        7 Oct 2009 12:20:22 -0000       1.8
@@ -19,7 +19,7 @@
 def main():
     testenv = copy.deepcopy(os.environ)
     testenv['DOTMONETDBFILE'] = '.testuser'
-    f = open(testenv['DOTMONETDBFILE'], 'wb')
+    f = open(testenv['DOTMONETDBFILE'], 'w')
     f.write('user=my_user\npassword=p1\n')
     f.close()
     clcmd = str(os.getenv('SQL_CLIENT')) + "< %s" % ('%s/../role.sql' % 
os.getenv('RELSRCDIR'))

U unknown_user.SQL.py
Index: unknown_user.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Users/Tests/unknown_user.SQL.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- unknown_user.SQL.py 7 Oct 2009 11:59:12 -0000       1.2
+++ unknown_user.SQL.py 7 Oct 2009 12:20:22 -0000       1.3
@@ -1,7 +1,7 @@
 import os, sys
 
 os.environ['DOTMONETDBFILE'] = '.nouser'
-f = open(os.environ['DOTMONETDBFILE'], 'wb')
+f = open(os.environ['DOTMONETDBFILE'], 'w')
 
f.write('user=this_user_does_not_exist\npassword=this_password_does_not_exist\n')
 f.close()
 os.system(os.getenv('SQL_CLIENT'))

U role2.SQL.py
Index: role2.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Users/Tests/role2.SQL.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- role2.SQL.py        7 Oct 2009 11:59:12 -0000       1.7
+++ role2.SQL.py        7 Oct 2009 12:20:22 -0000       1.8
@@ -17,7 +17,7 @@
 def main():
     testenv = copy.deepcopy(os.environ)
     testenv['DOTMONETDBFILE'] = '.testuser'
-    f = open(testenv['DOTMONETDBFILE'], 'wb')
+    f = open(testenv['DOTMONETDBFILE'], 'w')
     f.write('user=my_user2\npassword=p2\n')
     f.close()
     clcmd = str(os.getenv('SQL_CLIENT')) + "< %s" % ('%s/../role.sql' % 
os.getenv('RELSRCDIR'))


------------------------------------------------------------------------------
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