Changeset: e63922e85ac9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e63922e85ac9
Modified Files:
sql/test/BugTracker-2013/Tests/binary_copy_into.Bug-3345.SQL.py
Branch: Jul2015
Log Message:
Normalize output.
diffs (12 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
@@ -24,5 +24,6 @@ clt.stdin.write('copy binary into bug fr
os.path.join(dst, 'n_regionkey.sorted').replace('\\',
'\\\\')))
out, err = clt.communicate()
-sys.stdout.write(out.replace(os.environ['TSTTRGBASE'],'${TSTTRGBASE}').replace('\\','/'))
-sys.stderr.write(err.replace(os.environ['TSTTRGBASE'],'${TSTTRGBASE}').replace('\\','/'))
+# normalize output
+sys.stdout.write(out.replace(os.environ['TSTTRGBASE'].replace('\\',
'\\\\'),'${TSTTRGBASE}').replace('\\\\','/'))
+sys.stderr.write(err.replace(os.environ['TSTTRGBASE'].replace('\\',
'\\\\'),'${TSTTRGBASE}').replace('\\\\','/'))
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list