##// END OF EJS Templates
tests: fix startup race in test-http-proxy
Matt Mackall -
r16301:de4cb5c4 stable
parent child Browse files
Show More
@@ -8,10 +8,9 b''
8 $ hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=hg.pid
8 $ hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=hg.pid
9 $ cat hg.pid >> $DAEMON_PIDS
9 $ cat hg.pid >> $DAEMON_PIDS
10 $ cd ..
10 $ cd ..
11 $ ("$TESTDIR/tinyproxy.py" $HGPORT1 localhost >proxy.log 2>&1 </dev/null &
11 $ "$TESTDIR/tinyproxy.py" $HGPORT1 localhost >proxy.log 2>&1 </dev/null &
12 $ echo $! > proxy.pid)
12 $ while [ ! -f proxy.pid ]; do true; done
13 $ cat proxy.pid >> $DAEMON_PIDS
13 $ cat proxy.pid >> $DAEMON_PIDS
14 $ sleep 2
15
14
16 url for proxy, stream
15 url for proxy, stream
17
16
General Comments 0
You need to be logged in to leave comments. Login now