Mercurial > public > mercurial-scm > hg-stable
diff tests/test-http-proxy.t @ 32934:88c1d13b637b
test-http-proxy: redirect proxy stdout to /dev/null
This output hasn't been getting flushed, but would alter the log if it ever grew
large enough. See 23b07333a8b2.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 19 Jun 2017 21:53:54 -0400 |
parents | 76ed60630dd5 |
children | 10e162bb9bf5 |
line wrap: on
line diff
--- a/tests/test-http-proxy.t Mon Jun 19 21:44:23 2017 -0400 +++ b/tests/test-http-proxy.t Mon Jun 19 21:53:54 2017 -0400 @@ -8,7 +8,7 @@ $ hg serve --config server.uncompressed=True -p $HGPORT -d --pid-file=hg.pid $ cat hg.pid >> $DAEMON_PIDS $ cd .. - $ tinyproxy.py $HGPORT1 localhost >proxy.log 2>&1 </dev/null & + $ tinyproxy.py $HGPORT1 localhost 2>proxy.log >/dev/null </dev/null & $ while [ ! -f proxy.pid ]; do sleep 0; done $ cat proxy.pid >> $DAEMON_PIDS