comparison hgeditor @ 28612:6fb1d3c936d2

tests: explicitly flush output streams Some tests fail while running with chg because they do not flush their output streams. chgserver will make sure ui.flush is called after dispatch, but not after {ui,repo}setup. For other non-ui streams, it should be explicitly flushed since the request handler will use os._exit. This patch adds explicit flushes in test-bundle2-format.t, test-extension.t and test-obsolete.t. It will fix most test cases of them when running with chg.
author Jun Wu <quark@fb.com>
date Tue, 15 Mar 2016 09:51:42 +0000
parents 1aee2ab0f902
children
comparison
equal deleted inserted replaced
28611:6aa17f86d9f0 28612:6fb1d3c936d2