tests/test-bad-pull.t
author Raphaël Gomès <rgomes@octobus.net>
Wed, 02 Feb 2022 15:03:29 +0100
branchstable
changeset 48678 75676122c2bf
parent 45839 ebee234d952a
permissions -rw-r--r--
relnotes: add 6.0.1 and 6.0.2 notes Differential Revision: https://phab.mercurial-scm.org/D12130

#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