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

Modified Files:
      Tag: Nov2009
        unknown_user.SQL.py 
Log Message:
Use new way of starting clients from Python.


Index: unknown_user.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Users/Tests/unknown_user.SQL.py,v
retrieving revision 1.1
retrieving revision 1.1.20.1
diff -u -d -r1.1 -r1.1.20.1
--- unknown_user.SQL.py 29 May 2007 12:14:15 -0000      1.1
+++ unknown_user.SQL.py 12 Nov 2009 15:22:10 -0000      1.1.20.1
@@ -1,5 +1,4 @@
-import os, sys
-
-cltcmd = "%s -uthis_user_does_not_exist -Pthis_password_does_not_exist" % 
(os.getenv('SQL_CLIENT'))
+from MonetDBtesting import process
 
-os.system(cltcmd);
+clt = process.client('sql', user = 'this_user_does_not_exist', passwd = 
'this_password_does_not_exist')
+clt.wait()


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to