Changeset: 0ddb494d2f02 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0ddb494d2f02
Modified Files:
        sql/src/test/BugTracker/Tests/local_temp_table.SF-1865953.SQL.py
Branch: Jun2010
Log Message:

Cleaned up test.


diffs (29 lines):

diff -r b0d5065454b2 -r 0ddb494d2f02 
sql/src/test/BugTracker/Tests/local_temp_table.SF-1865953.SQL.py
--- a/sql/src/test/BugTracker/Tests/local_temp_table.SF-1865953.SQL.py  Fri Sep 
17 15:39:08 2010 +0200
+++ b/sql/src/test/BugTracker/Tests/local_temp_table.SF-1865953.SQL.py  Fri Sep 
17 15:39:48 2010 +0200
@@ -1,21 +1,10 @@
 import os, sys, time
 from MonetDBtesting import process
 
-RELSRCDIR = os.environ['RELSRCDIR']
-TSTDB = os.environ['TSTDB']
-
 def client(args):
-    t = time.strftime('# %H:%M:%S >',time.localtime(time.time()))
-    Mlog = "\n%s\n%s  mclient %s\n%s\n\n" % (t, t, ' '.join(args), t)
-    sys.stdout.write(Mlog)
-    sys.stdout.flush()
-    sys.stderr.write(Mlog)
-    sys.stderr.flush()
-    clt = process.client('sql', args = args)
+    clt = process.client('sql', args = args, log = True)
     clt.communicate()
 
-os.environ['LANG'] = 'en_US.UTF-8'
-
-client(['-d', TSTDB,
-        os.path.join(RELSRCDIR, 'local_temp_table_data.SF-1865953.sql')])
-client(['-d', TSTDB])
+client([os.path.join(os.environ['RELSRCDIR'],
+                     'local_temp_table_data.SF-1865953.sql')])
+client([os.devnull])
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to