##// END OF EJS Templates
tests: add tests for hgweb to test-keyword
Dirkjan Ochtman -
r6354:57a47660 default
parent child Browse files
Show More
@@ -296,3 +296,13 cat a b
296 echo % hg cat
296 echo % hg cat
297 hg cat sym a b
297 hg cat sym a b
298 echo
298 echo
299
300 echo % hg serve
301 hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
302 cat hg.pid >> $DAEMON_PIDS
303 echo % hgweb changeset
304 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw')
305 echo % hgweb filediff
306 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw')
307 echo % errors encountered
308 cat errors.log
@@ -393,3 +393,39 xxx $
393 $Xinfo$
393 $Xinfo$
394 ignore $Id$
394 ignore $Id$
395 a
395 a
396 % hg serve
397 % hgweb changeset
398 200 Script output follows
399
400
401 # HG changeset patch
402 # User User Name <user@example.com>
403 # Date 3 0
404 # Node ID cfa68229c1167443337266ebac453c73b1d5d16e
405 # Parent bb948857c743469b22bbf51f7ec8112279ca5d83
406 xa
407
408 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
409 +++ b/x/a Thu Jan 01 00:00:03 1970 +0000
410 @@ -0,0 +1,4 @@
411 +expand $Id$
412 +do not process $Id:
413 +xxx $
414 +$Xinfo$
415
416 % hgweb filediff
417 200 Script output follows
418
419
420 --- a/a Thu Jan 01 00:00:00 1970 +0000
421 +++ b/a Thu Jan 01 00:00:02 1970 +0000
422 @@ -1,3 +1,4 @@
423 expand $Id$
424 do not process $Id:
425 xxx $
426 +$Xinfo$
427
428
429
430
431 % errors encountered
General Comments 0
You need to be logged in to leave comments. Login now