Update of /cvsroot/monetdb/sql/src/test/Skyserver/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26107/Tests

Modified Files:
      Tag: SQL_2-24
        Skyserver.SQL.py 
Log Message:
use TSTSRCDIR (copy into needs absolute path)


U Skyserver.SQL.py
Index: Skyserver.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Skyserver/Tests/Skyserver.SQL.py,v
retrieving revision 1.4.4.1
retrieving revision 1.4.4.2
diff -u -d -r1.4.4.1 -r1.4.4.2
--- Skyserver.SQL.py    3 Jun 2008 12:18:47 -0000       1.4.4.1
+++ Skyserver.SQL.py    4 Jun 2008 13:12:49 -0000       1.4.4.2
@@ -2,7 +2,7 @@
 
 
 def main():
-    dir = os.getenv('RELSRCDIR')
+    dir = os.getenv('TSTSRCDIR')
     clcmd = str(os.getenv('SQL_CLIENT'))
     clcmd1 = str(os.getenv('SQL_CLIENT')) + " -uskyserver -Pskyserver"
     sys.stdout.write('Create User\n')
@@ -19,31 +19,31 @@
     clt1.close()
     clt1 = os.popen("cat %s/../Skyserver_import.sql | sed -e 
\"s|DATA|%s/../microsky|g\" | %s " % (dir, dir, clcmd1), 'w')
     clt1.close()
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_constraints.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_constraints.sql' % 
dir), 'w')
     clt1.close()
     sys.stdout.write('views\n')
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_views.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_views.sql' % dir), 'w')
     clt1.close()
     sys.stdout.write('functions\n')
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_functions.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_functions.sql' % dir), 
'w')
     clt1.close()
     sys.stdout.write('Cleanup\n')
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropFunctions.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropFunctions.sql' % 
dir), 'w')
     clt1.close()
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropMs_functions.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropMs_functions.sql' % 
dir), 'w')
     clt1.close()
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropMath.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropMath.sql' % dir), 
'w')
     clt1.close()
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropCache.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropCache.sql' % dir), 
'w')
     clt1.close()
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropViews.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropViews.sql' % dir), 
'w')
     clt1.close()
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropConstraints.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropConstraints.sql' % 
dir), 'w')
     clt1.close()
-    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropTables.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropTables.sql' % dir), 
'w')
     clt1.close()
     sys.stdout.write('Remove User\n')
-    clt = os.popen(clcmd + "<%s" % ('%s/../drop_user.sql' % 
os.getenv('RELSRCDIR')), 'w')
+    clt = os.popen(clcmd + "<%s" % ('%s/../drop_user.sql' % dir), 'w')
     clt.close()
 
 main()


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to