Mercurial > hg
changeset 6863:d78d0f9783b8
Fix intermittent broken pipe in test-highlight
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 06 Aug 2008 15:08:18 -0700 |
parents | 7192876ac329 |
children | 105d8676a688 |
files | tests/test-highlight |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-highlight Wed Aug 06 15:10:05 2008 +0200 +++ b/tests/test-highlight Wed Aug 06 15:08:18 2008 -0700 @@ -27,8 +27,9 @@ | sed "s/[0-9]* years ago/long ago/g" echo % hgweb highlightcss friendly -("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/highlightcss') \ - | head -n 4 +"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/highlightcss' > out +head -n 4 out +rm out echo % errors encountered cat errors.log @@ -45,8 +46,9 @@ cat hg.pid >> $DAEMON_PIDS echo % hgweb highlightcss fruity -("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/highlightcss') \ - | head -n 4 +"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/highlightcss' > out +head -n 4 out +rm out echo % errors encountered cat errors.log