tests/test-bad-pull.t
author Raphaël Gomès <rgomes@octobus.net>
Thu, 21 Mar 2024 12:24:36 +0100
branchstable
changeset 51513 c40da123a530
parent 45839 ebee234d952a
permissions -rw-r--r--
Added tag 6.7.1 for changeset 2e6fde2ed01e

#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