Changeset: 02bf23417cee for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=02bf23417cee
Modified Files:
        sql/test/BugTracker-2013/Tests/binary_copy_into.Bug-3345.SQL.py
Branch: Feb2013
Log Message:

binary_copy_into.Bug-3345: make test output independent of Windows vs Unix path 
separators


diffs (11 lines):

diff --git a/sql/test/BugTracker-2013/Tests/binary_copy_into.Bug-3345.SQL.py 
b/sql/test/BugTracker-2013/Tests/binary_copy_into.Bug-3345.SQL.py
--- a/sql/test/BugTracker-2013/Tests/binary_copy_into.Bug-3345.SQL.py
+++ b/sql/test/BugTracker-2013/Tests/binary_copy_into.Bug-3345.SQL.py
@@ -22,5 +22,5 @@ clt.stdin.write('create table bug (n_nat
 clt.stdin.write('copy binary into bug from \'%s/n_nationkey.sorted\', 
\'%s/n_regionkey.sorted\';\n'% (dst,dst))
 
 out, err = clt.communicate()
-sys.stdout.write(out.replace(os.environ['TSTTRGBASE'],'${TSTTRGBASE}'))
-sys.stderr.write(err.replace(os.environ['TSTTRGBASE'],'${TSTTRGBASE}'))
+sys.stdout.write(out.replace(os.environ['TSTTRGBASE'],'${TSTTRGBASE}').replace('\\','/'))
+sys.stderr.write(err.replace(os.environ['TSTTRGBASE'],'${TSTTRGBASE}').replace('\\','/'))
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to