tests/test-keyword
branch0.9.2compat
changeset 483 ad766066d1bc
parent 480 c5e1178401c5
child 486 a6f4e1367978
equal deleted inserted replaced
480:c5e1178401c5 483:ad766066d1bc
   265 echo % cat a
   265 echo % cat a
   266 cat a
   266 cat a
   267 cd ..
   267 cd ..
   268 
   268 
   269 echo % kwexpand nonexistent
   269 echo % kwexpand nonexistent
   270 hg kwexpand nonexistent
   270 hg kwexpand nonexistent 2>&1 | sed 's/nonexistent:.*/nonexistent:/'
       
   271 
       
   272 #echo % hg serve
       
   273 #hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
       
   274 #cat hg.pid >> $DAEMON_PIDS
       
   275 #echo % expansion
       
   276 #echo % hgweb file
       
   277 #("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/a/?style=raw')
       
   278 #echo % no expansion
       
   279 #echo % hgweb annotate
       
   280 #("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/a/?style=raw')
       
   281 #echo % hgweb changeset
       
   282 #("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw')
       
   283 #echo % hgweb filediff
       
   284 #("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw')
       
   285 #echo % errors encountered
       
   286 #cat errors.log
   271 
   287 
   272 echo % switch off expansion
   288 echo % switch off expansion
   273 echo % kwshrink with unknown file u
   289 echo % kwshrink with unknown file u
   274 cp a u
   290 cp a u
   275 hg --verbose kwshrink
   291 hg --verbose kwshrink
   281 rm $HGRCPATH
   297 rm $HGRCPATH
   282 echo % cat
   298 echo % cat
   283 cat a b
   299 cat a b
   284 echo % hg cat
   300 echo % hg cat
   285 hg cat a b
   301 hg cat a b
   286 
       
   287 echo % hg serve
       
   288 test -n "$HGPORT" || export HGPORT=20063
       
   289 hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
       
   290 cat hg.pid >> $DAEMON_PIDS
       
   291 echo % hgweb changeset
       
   292 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw')
       
   293 echo % errors encountered
       
   294 cat errors.log