tests/test-bad-pull.t
author Raphaël Gomès <rgomes@octobus.net>
Tue, 10 Jan 2023 10:57:15 +0100
changeset 49936 2cd8352f7e11
parent 45839 ebee234d952a
permissions -rw-r--r--
rust-clippy: merge "config" module definition and struct implementation Module inception is confusing when looking for code and almost never the right choice.

#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