Update of /cvsroot/monetdb/sql/src/test/Dependencies/Tests
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31846/src/test/Dependencies/Tests
Modified Files:
Dependencies.SQL.py
Log Message:
propagated changes of Monday Oct 22 2007 - Monday Oct 22 2007
from the SQL_2-20 branch to the development trunk
Index: Dependencies.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Dependencies/Tests/Dependencies.SQL.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Dependencies.SQL.py 15 Oct 2007 15:29:53 -0000 1.3
+++ Dependencies.SQL.py 22 Oct 2007 12:25:06 -0000 1.4
@@ -6,39 +6,39 @@
import MonetDB.subprocess26 as subprocess
def client(cmd):
- clt = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
- sys.stdout.write(clt.stdout.read())
- clt.stdout.close()
- sys.stderr.write(clt.stderr.read())
- clt.stderr.close()
-
+ clt = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
+ sys.stdout.write(clt.stdout.read())
+ clt.stdout.close()
+ sys.stderr.write(clt.stderr.read())
+ clt.stderr.close()
+
def main():
- clcmd = str(os.getenv('SQL_CLIENT'))
- clcmd1 = str(os.getenv('SQL_CLIENT')) + "-umonet_test -Ppass_test"
+ clcmd = str(os.getenv('SQL_CLIENT'))
+ clcmd1 = str(os.getenv('SQL_CLIENT')) + "-umonet_test -Ppass_test"
- sys.stdout.write('Dependencies between User and Schema\n')
- sys.stdout.flush()
- client(clcmd + "<%s" % ('%s/../dependency_owner_schema_1.sql' %
os.getenv('RELSRCDIR')))
- sys.stdout.write('done\n')
+ sys.stdout.write('Dependencies between User and Schema\n')
+ sys.stdout.flush()
+ client(clcmd + "<%s" % ('%s/../dependency_owner_schema_1.sql' %
os.getenv('RELSRCDIR')))
+ sys.stdout.write('done\n')
- client(clcmd1 + "<%s" % ('%s/../dependency_owner_schema_2.sql' %
os.getenv('RELSRCDIR')))
- sys.stdout.write('done\n')
+ client(clcmd1 + "<%s" % ('%s/../dependency_owner_schema_2.sql' %
os.getenv('RELSRCDIR')))
+ sys.stdout.write('done\n')
- sys.stdout.write('Dependencies between database objects\n')
- sys.stdout.flush()
- client(clcmd + "<%s" % ('%s/../dependency_DBobjects.sql' %
os.getenv('RELSRCDIR')))
- sys.stdout.write('done\n')
+ sys.stdout.write('Dependencies between database objects\n')
+ sys.stdout.flush()
+ client(clcmd + "<%s" % ('%s/../dependency_DBobjects.sql' %
os.getenv('RELSRCDIR')))
+ sys.stdout.write('done\n')
- sys.stdout.write('Dependencies between functions with same name\n')
- sys.stdout.flush()
- client(clcmd + "<%s" % ('%s/../dependency_functions.sql' %
os.getenv('RELSRCDIR')))
- sys.stdout.write('done\n')
+ sys.stdout.write('Dependencies between functions with same name\n')
+ sys.stdout.flush()
+ client(clcmd + "<%s" % ('%s/../dependency_functions.sql' %
os.getenv('RELSRCDIR')))
+ sys.stdout.write('done\n')
- sys.stdout.write('Cleanup\n')
- sys.stdout.flush()
- client(clcmd + "<%s" % ('%s/../dependency_owner_schema_3.sql' %
os.getenv('RELSRCDIR')))
- sys.stdout.write('done\n')
+ sys.stdout.write('Cleanup\n')
+ sys.stdout.flush()
+ client(clcmd + "<%s" % ('%s/../dependency_owner_schema_3.sql' %
os.getenv('RELSRCDIR')))
+ sys.stdout.write('done\n')
main()
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins