comparison tests/test-highlight @ 8083:29ac24a36ed7

test-highlight: adapt output to latest pygments keeping backwards compatibility
author Christian Ebert <blacktrash@gmx.net>
date Sun, 19 Apr 2009 13:27:03 +0100
parents 5fb6edbf0ab8
children 0b93eff3721d
comparison
equal deleted inserted replaced
8082:81aba9e79054 8083:29ac24a36ed7
22 hg serve -p $HGPORT -d -n test --pid-file=hg.pid -A access.log -E errors.log 22 hg serve -p $HGPORT -d -n test --pid-file=hg.pid -A access.log -E errors.log
23 cat hg.pid >> $DAEMON_PIDS 23 cat hg.pid >> $DAEMON_PIDS
24 24
25 echo % hgweb filerevision, html 25 echo % hgweb filerevision, html
26 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/get-with-headers.py') \ 26 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/get-with-headers.py') \
27 | sed "s/class=\"k\"/class=\"kn\"/g" 27 | sed "s/class=\"k\"/class=\"kn\"/g" | sed "s/class=\"mf\"/class=\"mi\"/g"
28 28
29 echo % hgweb filerevision, html 29 echo % hgweb filerevision, html
30 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/isolatin.txt') \ 30 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/isolatin.txt') \
31 | sed "s/class=\"k\"/class=\"kn\"/g" 31 | sed "s/class=\"k\"/class=\"kn\"/g"
32 32
33 echo % hgweb fileannotate, html 33 echo % hgweb fileannotate, html
34 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/get-with-headers.py') \ 34 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/get-with-headers.py') \
35 | sed "s/class=\"k\"/class=\"kn\"/g" 35 | sed "s/class=\"k\"/class=\"kn\"/g" | sed "s/class=\"mi\"/class=\"mf\"/g"
36 36
37 echo % hgweb fileannotate, raw 37 echo % hgweb fileannotate, raw
38 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/get-with-headers.py?style=raw') \ 38 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/get-with-headers.py?style=raw') \
39 | sed "s/test@//" > a 39 | sed "s/test@//" > a
40 40