tests/test-bad-pull.t
author Pulkit Goyal <pulkit@yandex-team.ru>
Sun, 16 Sep 2018 19:58:01 +0530
changeset 39657 2b9f315a4217
parent 37845 b4b7427b5786
child 39707 5abc47d4ca6b
permissions -rw-r--r--
py3: use codecs.encode() to encode in rot-13 encoding The other occurence will need some more love as description is bytes by default and we need to decode it and then encode it. Differential Revision: https://phab.mercurial-scm.org/D4608

#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