tests/test-bad-pull.t
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 30 Nov 2019 02:59:04 -0500
branchstable
changeset 43743 66210a20f727
parent 39707 5abc47d4ca6b
child 45839 ebee234d952a
permissions -rw-r--r--
win32mbcs: fix a `str` type conditional for py3 Differential Revision: https://phab.mercurial-scm.org/D7535

#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