comparison tests/test-hgweb-commands @ 5593:6ae8ed59c7b4

Fix breaking test from 05451f6b5f07
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 02 Dec 2007 21:52:40 -0800
parents 05451f6b5f07
children ca7af19debea
comparison
equal deleted inserted replaced
5592:7a4d846b178f 5593:6ae8ed59c7b4
9 hg init test 9 hg init test
10 cd test 10 cd test
11 mkdir da 11 mkdir da
12 echo foo > da/foo 12 echo foo > da/foo
13 echo foo > foo 13 echo foo > foo
14 hg ci -Ambase 14 hg ci -d'0 0' -Ambase
15 hg tag 1.0 15 hg tag 1.0
16 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log 16 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
17 cat hg.pid >> $DAEMON_PIDS 17 cat hg.pid >> $DAEMON_PIDS
18 18
19 echo % Logs and changes 19 echo % Logs and changes
31 31
32 echo % Overviews 32 echo % Overviews
33 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/tags/?style=atom' | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//" 33 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/tags/?style=atom' | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//"
34 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' | sed "s/[0-9]* years ago/long ago/" 34 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' | sed "s/[0-9]* years ago/long ago/"
35 35
36 echo % Internals 36 echo % capabilities
37 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/capabilities' 37 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/capabilities'
38 echo % heads
38 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/heads' 39 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/heads'
40 echo % lookup
39 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/lookup/1' 41 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/lookup/1'
42 echo % branches
40 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/branches' 43 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/branches'
44 echo % changegroup
41 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/changegroup' 45 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/changegroup'
46 echo % stream_out
42 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/stream_out' 47 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/stream_out'
43 48
44 echo % Static files 49 echo % Static files
45 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/static/style.css' 50 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/static/style.css'
46 51