Mercurial > public > mercurial-scm > hg-stable
diff tests/test-mq-qclone-http @ 7524:7fc19b12cb6b
tests: fix test-mq-qclone-http (broken by e60aaae83323)
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 19 Dec 2008 08:41:46 +0100 |
parents | b193a6e59131 |
children | 6a49fa7674c1 |
line wrap: on
line diff
--- a/tests/test-mq-qclone-http Thu Dec 18 22:32:48 2008 +0100 +++ b/tests/test-mq-qclone-http Fri Dec 19 08:41:46 2008 +0100 @@ -23,8 +23,8 @@ cd .. cat > collections.conf <<EOF -[collections] -$root=$root +[paths] +/=$root/** EOF hg serve -p $HGPORT -d --pid-file=hg.pid --webdir-conf collections.conf \ @@ -37,3 +37,19 @@ hg --cwd b log --template "{desc}\n" hg --cwd b qpush -a hg --cwd b log --template "{desc}\n" + +cat > collections1.conf <<EOF +[paths] +/=$root/* +EOF + +hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf collections1.conf \ + -A access-paths.log -E error-paths-1.log +cat hg.pid >> $DAEMON_PIDS + +"$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw' + +hg qclone http://localhost:$HGPORT1/a c +hg --cwd c log --template "{desc}\n" +hg --cwd c qpush -a +hg --cwd c log --template "{desc}\n"