diff tests/test-pull @ 1929:85daa4e03b4c

Merging with crew.
author Eric Hopper <hopper@omnifarious.org>
date Mon, 06 Mar 2006 08:47:16 -0800
parents 397b62d5dd13 ffb584a182d1
children 83cfd95eafb5
line wrap: on
line diff
--- a/tests/test-pull
+++ b/tests/test-pull
@@ -7,8 +7,7 @@ hg init
 hg addremove
 hg commit -m 1
 hg verify
-hg serve -p 20059 > /dev/null &
-sleep 1 # wait for server to be started
+hg serve -p 20059 -d --pid-file=hg.pid
 cd ..
 
 http_proxy= hg clone http://localhost:20059/ copy
@@ -19,4 +18,4 @@ cat foo
 hg manifest
 hg pull
 
-kill $!
+kill `cat ../test/hg.pid`