view tests/test-bad-pull.t @ 29755:b37f65b047c7

debugbuilddag: take wlock to cover '.hg/localtags' This debug command can write local tags. local tags are in the .hg directory and should be covered by the 'wlock'. This is now covered.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sun, 07 Aug 2016 17:15:19 +0200
parents 280528245ecf
children 75be14993fda
line wrap: on
line source

#require serve killdaemons

  $ hg clone http://localhost:$HGPORT/ copy
  abort: * (glob)
  [255]

  $ test -d copy
  [1]

  $ python "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid
  $ cat dumb.pid >> $DAEMON_PIDS
  $ hg clone http://localhost:$HGPORT/foo copy2
  abort: HTTP Error 404: * (glob)
  [255]
  $ killdaemons.py