tests: use killdaemons in hgweb tests
hgweb tests often failed on my system because the serve port wasn't free when a
new hgweb was started; the killed hg wasn't completely dead yet.
Now we use killdaemons which waits for the process to die.
#!/bin/sh
cat >> $HGRCPATH <<EOF
[extensions]
alias=
[alias]
myinit = init
cleanstatus = status -c
unknown = bargle
ambiguous = s
recursive = recursive
EOF
echo '% basic'
hg myinit alias
echo '% unknown'
hg unknown
echo '% ambiguous'
hg ambiguous
echo '% recursive'
hg recursive
cd alias
echo foo > foo
hg ci -Amfoo
echo '% with opts'
hg cleanst