tests/test-bad-pull.t
author Augie Fackler <augie@google.com>
Thu, 09 Aug 2018 20:08:30 -0700
changeset 39030 1eb779a86c4e
parent 37845 b4b7427b5786
child 39707 5abc47d4ca6b
permissions -rw-r--r--
tests: fix Python3 issues in Python one-liners in test-patchbomb.t # skip-blame just byte prefixes Differential Revision: https://phab.mercurial-scm.org/D4220

#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