tests/test-bad-pull.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 22 Feb 2023 02:21:27 +0100
changeset 50147 0be70c7b609c
parent 45839 ebee234d952a
permissions -rw-r--r--
dirstate: have `running_status` write the dirstate when holding the lock This is simple and harmless.

#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