Mercurial > hg
comparison tests/test-highlight @ 7038:d1c82127573e
tests: fix test-highlight for compatiblity with newer Pygments
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 17 Sep 2008 11:14:06 +0200 |
parents | 3b841c189ab7 |
children | f29b674cc221 |
comparison
equal
deleted
inserted
replaced
7037:e3f9feb9ab7e | 7038:d1c82127573e |
---|---|
16 hg serve -p $HGPORT -d -n test --pid-file=hg.pid -A access.log -E errors.log | 16 hg serve -p $HGPORT -d -n test --pid-file=hg.pid -A access.log -E errors.log |
17 cat hg.pid >> $DAEMON_PIDS | 17 cat hg.pid >> $DAEMON_PIDS |
18 | 18 |
19 echo % hgweb filerevision | 19 echo % hgweb filerevision |
20 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/get-with-headers.py') \ | 20 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/get-with-headers.py') \ |
21 | sed "s/[0-9]* years ago/long ago/g" | 21 | sed "s/[0-9]* years ago/long ago/g" | sed "s/class=\"k\"/class=\"kn\"/g" |
22 | 22 |
23 echo % hgweb fileannotate | 23 echo % hgweb fileannotate |
24 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/get-with-headers.py') \ | 24 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/get-with-headers.py') \ |
25 | sed "s/[0-9]* years ago/long ago/g" | 25 | sed "s/[0-9]* years ago/long ago/g" | sed "s/class=\"k\"/class=\"kn\"/g" |
26 | 26 |
27 echo % errors encountered | 27 echo % errors encountered |
28 cat errors.log | 28 cat errors.log |
29 | 29 |