Mercurial > hg > mercurial-crew-with-dirclash
diff tests/test-webraw @ 5384:e3a0c092b4e2
Allow tests to run in parallel.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 05 Oct 2007 12:17:01 -0700 |
parents | 83cfd95eafb5 |
children |
line wrap: on
line diff
--- a/tests/test-webraw +++ b/tests/test-webraw @@ -10,9 +10,9 @@ care about things like that. ENDSOME hg add sometext.txt hg commit -d "1 0" -m "Just some text" -hg serve -p 20059 -A access.log -E error.log -d --pid-file=hg.pid +hg serve -p $HGPORT -A access.log -E error.log -d --pid-file=hg.pid cat hg.pid >> $DAEMON_PIDS -("$TESTDIR/get-with-headers.py" localhost:20059 '/?f=f165dc289438;file=sometext.txt;style=raw' content-type content-length content-disposition) >getoutput.txt & +("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/?f=f165dc289438;file=sometext.txt;style=raw' content-type content-length content-disposition) >getoutput.txt & sleep 5 kill `cat hg.pid`