tests/test-bad-pull.t
author Gregory Szorc <gregory.szorc@gmail.com>
Mon, 21 Feb 2022 10:31:53 -0700
changeset 48894 5917dc5d1e52
parent 45839 ebee234d952a
permissions -rw-r--r--
extensions: remove superfluous pycompat.ispy3 check This is always True now. Differential Revision: https://phab.mercurial-scm.org/D12297

#require serve

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

  $ 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)
  [100]
  $ killdaemons.py