Mercurial > hg
changeset 8358:be2277c1dfcc
tests: add test for branches webcommand
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 12 May 2009 11:05:13 +0200 |
parents | d974a32b59dc |
children | 07ddec2ea203 |
files | tests/test-hgweb-commands tests/test-hgweb-commands.out |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-hgweb-commands Tue May 12 11:58:39 2009 +0200 +++ b/tests/test-hgweb-commands Tue May 12 11:05:13 2009 +0200 @@ -13,6 +13,9 @@ echo foo > foo hg ci -Ambase hg tag 1.0 +echo another > foo +hg branch stable +hg ci -Ambranch hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log cat hg.pid >> $DAEMON_PIDS @@ -33,6 +36,7 @@ echo % Overviews "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/tags/?style=atom' | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//" +"$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/branches/?style=gitweb' | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//" "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/?style=gitweb'