Changeset: 008114e736f8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/008114e736f8
Modified Files:
sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.py
Branch: Sep2022
Log Message:
sync it with sql/jdbc/tests/Tests/ValidateSystemCatalogTables.SQL.py
diffs (17 lines):
diff --git a/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.py
b/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.py
--- a/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.py
+++ b/sql/test/sys-schema/Tests/ValidateSystemCatalogTables.SQL.py
@@ -17,7 +17,11 @@ if __name__ == '__main__':
cmd = ['java', CLIENT, '-h', HOST, '-p', MAPIPORT, '-d', TSTDB, '-f',
os.path.join(TSTSRCBASE, TSTDIR, 'Tests', 'ValidateSystemCatalogTables.sql')]
try:
p = run(cmd, stdout=PIPE, stderr=PIPE, check=True, encoding='utf-8')
- sys.stderr.write(p.stdout)
- sys.stderr.write(p.stderr)
+ pout = str(p.stdout)
+ if pout != "":
+ print(pout)
+ perr = str(p.stderr)
+ if perr != "":
+ print(perr)
except CalledProcessError as e:
raise SystemExit(e.stderr)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]