tests/test-bad-pull.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 09 Jan 2023 18:25:24 +0100
changeset 49995 b6dc4802e7ef
parent 45858 ebee234d952a
permissions -rw-r--r--
rust: don't use a reference to a `Cow` This was caught by `clippy`.

#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