tests/test-keyword.t
branchstable
changeset 1106 a02b1025536c
parent 1104 5c7fdc5d6a36
child 1112 3007e5d9eb4e
equal deleted inserted replaced
1105:9b2932ca75fd 1106:a02b1025536c
   930  - no expansion with hgweb annotate/changeset/filediff
   930  - no expansion with hgweb annotate/changeset/filediff
   931  - check errors
   931  - check errors
   932 
   932 
   933   $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   933   $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   934   $ cat hg.pid >> $DAEMON_PIDS
   934   $ cat hg.pid >> $DAEMON_PIDS
   935   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/a/?style=raw'
   935   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/a/?style=raw'
   936   200 Script output follows
   936   200 Script output follows
   937   
   937   
   938   expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $
   938   expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $
   939   do not process $Id:
   939   do not process $Id:
   940   xxx $
   940   xxx $
   941   $Xinfo: User Name <user@example.com>: firstline $
   941   $Xinfo: User Name <user@example.com>: firstline $
   942   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/a/?style=raw'
   942   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'annotate/tip/a/?style=raw'
   943   200 Script output follows
   943   200 Script output follows
   944   
   944   
   945   
   945   
   946   user@1: expand $Id$
   946   user@1: expand $Id$
   947   user@1: do not process $Id:
   947   user@1: do not process $Id:
   949   user@2: $Xinfo$
   949   user@2: $Xinfo$
   950   
   950   
   951   
   951   
   952   
   952   
   953   
   953   
   954   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw'
   954   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'rev/tip/?style=raw'
   955   200 Script output follows
   955   200 Script output follows
   956   
   956   
   957   
   957   
   958   # HG changeset patch
   958   # HG changeset patch
   959   # User User Name <user@example.com>
   959   # User User Name <user@example.com>
   969   +expand $Id$
   969   +expand $Id$
   970   +do not process $Id:
   970   +do not process $Id:
   971   +xxx $
   971   +xxx $
   972   +$Xinfo$
   972   +$Xinfo$
   973   
   973   
   974   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw'
   974   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'diff/bb948857c743/a?style=raw'
   975   200 Script output follows
   975   200 Script output follows
   976   
   976   
   977   
   977   
   978   diff -r ef63ca68695b -r bb948857c743 a
   978   diff -r ef63ca68695b -r bb948857c743 a
   979   --- a/a	Thu Jan 01 00:00:00 1970 +0000
   979   --- a/a	Thu Jan 01 00:00:00 1970 +0000