diff tests/test-http.t @ 13439:d724a69309e0 stable

util: flush stdout before calling external processes stdout could have content in its buffer while a subprocess ran and emitted output. Flushing stdout ensures that output now comes in the right order.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 18 Feb 2011 03:35:01 +0100
parents 682edefe7dbb
children 61a898576888
line wrap: on
line diff
--- a/tests/test-http.t	Fri Feb 18 03:34:47 2011 +0100
+++ b/tests/test-http.t	Fri Feb 18 03:35:01 2011 +0100
@@ -76,12 +76,12 @@
   $ echo '[hooks]' >> .hg/hgrc
   $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup' >> .hg/hgrc
   $ hg pull
-  changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=http://localhost:$HGPORT1/ 
   pulling from http://localhost:$HGPORT1/
   searching for changes
   adding changesets
   adding manifests
   adding file changes
   added 1 changesets with 1 changes to 1 files
+  changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=http://localhost:$HGPORT1/ 
   (run 'hg update' to get a working copy)
   $ cd ..