Commit 60339a0c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

output more readable SQL dump.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25467 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca35e009
...@@ -787,7 +787,7 @@ class ERP5TypeTestCase(PortalTestCase): ...@@ -787,7 +787,7 @@ class ERP5TypeTestCase(PortalTestCase):
get_transaction().commit() get_transaction().commit()
ZopeTestCase.close(app) ZopeTestCase.close(app)
instance_home = os.environ['INSTANCE_HOME'] instance_home = os.environ['INSTANCE_HOME']
command = 'mysqldump %s > %s/dump.sql' \ command = 'mysqldump --skip-extended-insert %s > %s/dump.sql' \
% (getMySQLArguments(), instance_home) % (getMySQLArguments(), instance_home)
if not quiet: if not quiet:
ZopeTestCase._print('Dumping MySQL database with %s... ' \ ZopeTestCase._print('Dumping MySQL database with %s... ' \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment