tests/test-bad-pull.t
author Pulkit Goyal <pulkit@yandex-team.ru>
Sat, 01 Sep 2018 02:16:22 +0530
changeset 39407 1099d9bbdf9a
parent 37891 b4b7427b5786
child 39723 5abc47d4ca6b
permissions -rw-r--r--
py3: don't use dict.iterkeys() in hgext/fastannotate/context.py dict.iterkeys() is not present on Python 3. Differential Revision: https://phab.mercurial-scm.org/D4431

#require serve

  $ 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