tests/test-bad-pull.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 27 Mar 2024 18:51:33 +0000
changeset 51556 f1512dbfee9f
parent 45839 ebee234d952a
permissions -rw-r--r--
perf-stream-consume: use the source repository config when applying This might contains critical configuration for the benchmark, like enabling of extensions like narrow.

#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