comparison tests/test-serve @ 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 9858477ed74c
children
comparison
equal deleted inserted replaced
5383:7cdc896fdcd5 5384:e3a0c092b4e2
5 5
6 echo '[web]' > .hg/hgrc 6 echo '[web]' > .hg/hgrc
7 echo 'accesslog = access.log' >> .hg/hgrc 7 echo 'accesslog = access.log' >> .hg/hgrc
8 8
9 echo % Without -v 9 echo % Without -v
10 hg serve -a localhost -p 20063 -d --pid-file=hg.pid 10 hg serve -a localhost -p $HGPORT -d --pid-file=hg.pid
11 cat hg.pid >> "$DAEMON_PIDS" 11 cat hg.pid >> "$DAEMON_PIDS"
12 if [ -f access.log ]; then 12 if [ -f access.log ]; then
13 echo 'access log created - .hg/hgrc respected' 13 echo 'access log created - .hg/hgrc respected'
14 fi 14 fi
15 15
16 echo % With -v 16 echo % With -v
17 hg serve -a localhost -p 20064 -d --pid-file=hg.pid -v 17 hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -v | sed -e 's,:[0-9][0-9]*/,/,'
18 cat hg.pid >> "$DAEMON_PIDS" 18 cat hg.pid >> "$DAEMON_PIDS"