diff --git a/tests/test-hgwebdir b/tests/test-hgwebdir --- a/tests/test-hgwebdir +++ b/tests/test-hgwebdir @@ -64,8 +64,12 @@ cat hg.pid >> $DAEMON_PIDS echo % should succeed, slashy names "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw' +"$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=paper' \ + | sed -r "s/[0-9]+ seconds? ago/seconds ago/" "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t?style=raw' "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw' +"$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=paper' \ + | sed -r "s/[0-9]+ seconds? ago/seconds ago/" "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a?style=atom' \ | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//" "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a/?style=atom' \ diff --git a/tests/test-hgwebdir.out b/tests/test-hgwebdir.out --- a/tests/test-hgwebdir.out +++ b/tests/test-hgwebdir.out @@ -43,6 +43,55 @@ 200 Script output follows 200 Script output follows + + + + + + + +Mercurial repositories index + + + +
+ +
+

Mercurial Repositories

+ + + + + + + + + + + + + + + + + + + + + +
NameDescriptionContactLast change 
bunknownFoo Bar <foo.bar@example.com>seconds ago
coll/aunknownFoo Bar <foo.bar@example.com>seconds ago
coll/a/.hg/patchesunknownFoo Bar <foo.bar@example.com>seconds ago
coll/bunknownFoo Bar <foo.bar@example.com>seconds ago
coll/cunknownFoo Bar <foo.bar@example.com>seconds ago
rcoll/aunknownFoo Bar <foo.bar@example.com>seconds ago
rcoll/a/.hg/patchesunknownFoo Bar <foo.bar@example.com>seconds ago
rcoll/bunknownFoo Bar <foo.bar@example.com>seconds ago
rcoll/b/dunknownFoo Bar <foo.bar@example.com>seconds ago
rcoll/cunknownFoo Bar <foo.bar@example.com>seconds ago
t/aunknownFoo Bar <foo.bar@example.com>seconds ago
+
+
+ + + + + +200 Script output follows + /t/a/ @@ -53,6 +102,45 @@ 200 Script output follows 200 Script output follows + + + + + + + +Mercurial repositories index + + + +
+ +
+

Mercurial Repositories

+ + + + + + + + + + + +
NameDescriptionContactLast change 
aunknownFoo Bar <foo.bar@example.com>seconds ago
+
+
+ + + + + +200 Script output follows +