Changeset: 811e38a49aa7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=811e38a49aa7
Modified Files:
        sql/backends/monet5/Tests/shutdown.py
Branch: default
Log Message:

Properly call shutdown program in the test.


diffs (22 lines):

diff --git a/sql/backends/monet5/Tests/shutdown.py 
b/sql/backends/monet5/Tests/shutdown.py
--- a/sql/backends/monet5/Tests/shutdown.py
+++ b/sql/backends/monet5/Tests/shutdown.py
@@ -2,14 +2,14 @@
 import os
 import shutil
 
-bindir = os.getenv('TSTTRGBASE')
 databasedir = os.getenv('TSTTRGDIR')
 if databasedir == None:
     exit()
 databasedir = os.path.join(databasedir, 'SHUTDOWN_DATABASE')
-if bindir == None:
-    os.system('shutdowntest "%s"' % databasedir)
+
+if os.name == 'nt':
+    os.system('shutdowntest.exe "%s"' % databasedir)
 else:
-    os.system(os.path.join(bindir, 'bin', 'shutdowntest') + ' "%s"' % 
databasedir)
+    os.system('Mlog -x shutdowntest "%s"' % databasedir)
 
 shutil.rmtree(databasedir)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to